Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

File Upload in Websphere Portal  RSS feed

 
Rahul Pandey
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!