You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by "Weaver, Scott" <Sw...@rippe.com> on 2003/05/29 19:00:53 UTC

RE: CGI Script (Perl) in a Portlet

Jetspeed supplies a nice, transparent upload service through Turbine.  You can use it straight through the RunData object:


FileItem fileItem = rundata.getParameters().getFileItem("formFieldName");

hth,
*===================================*
* Scott T Weaver                    *
* Jakarta Jetspeed Portal Project   *
* weaver@apache.org                 *
*===================================*
  


> -----Original Message-----
> From: Wilson, Allen [mailto:Allen.Wilson@marcresearch.com]
> Sent: Thursday, May 29, 2003 12:36 PM
> To: Jetspeed Users List
> Subject: CGI Script (Perl) in a Portlet
> 
> Has anyone used a perl script in a portlet?
> 
> Is that possible and what type of portlet would you use?
> 
> I know the first question is why not use a JSP page. Well I am trying to
> do file uploads and maintenance (where use can come back and delete an
> upload file) and I am relatively new to Java. I have found several
> samples on how to upload a file (Commons information from Apache, the
> MultiPart information from O'Reilly) but my inexperience in Java (more
> self-taught than anything) has made it hard to catch on to some of the
> concepts. I understand what is going on but based on my timeframe I do
> not have the luxury of studying the information and doing trial and
> error until I figure out what I need....
> 
> Any help or thoughts would be appreciated...
> 
> 
> Thanks...Allen