File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Portals and Portlets and the fly likes File Upload in Websphere Portal Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Reply Bookmark "File Upload in Websphere Portal" Watch "File Upload in Websphere Portal" New topic
Author

File Upload in Websphere Portal

Rahul Pandey
Greenhorn

Joined: Feb 21, 2007
Posts: 12
Hi!

Our product uses IBM Websphere Portal 5.1 for implementation and one of our currently added features require a functionality allowing user to upload a file onto our database.

We've implemented the same using traditional technique by using enctype as multipart/form-data in our source JSP from where the user can select a file for upload.

Our problem here is that upon submitting this JSP, if the enctype is set to multipart/form-data, the JSP request does not process. It reaches the HTMLAction however but all of its attributes are null.

If we are to remove the multipart/form-data alone, the JSP works just fine but we do not have our file.

Is there a work-around to this?

We've already considered the option of using a servlet for the file upload function but this is not feasible since we cannot have a pop-up window and our resultant JSP (in portlet) should display list of files with the recently uploaded file properly listed.

Thanks in advance!
 
 
subject: File Upload in Websphere Portal
 
Threads others viewed
request.getParameter()
Upload Image to database through Servlet
Enumeration is not returning any data
File Upload Problem with WAS 4.0.1
Encoding problem with File Upload
developer file tools