wood burning stoves 2.0*
The moose likes Websphere and the fly likes File Upload Problem with WAS 4.0.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "File Upload Problem with WAS 4.0.1" Watch "File Upload Problem with WAS 4.0.1" New topic
Author

File Upload Problem with WAS 4.0.1

Satheesh Kumar G
Greenhorn

Joined: Feb 08, 2003
Posts: 21
hi,
I am trying to upload files from client machine to the server using java servlet (provided by O' reilly website). The code is working fine with Tomcat but its not working with websphere. The problem is, because we have set the form enctype='multipart/form-data', request is going as inputstream. This inputstream is becoming empty in websphere in the servlet.

I tried some small example for file upload which is also not working with websphere(but working with tomcat).
thanks in advance
regards,
Satheesh
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
Apply fixpack 2 (http://www-3.ibm.com/software/webservers/appserv/support/index.html). This bug was fixed in that fixpack. BTW, you might want to catch up your WebSphere -- the current fixpack is now 5.
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Satheesh Kumar G
Greenhorn

Joined: Feb 08, 2003
Posts: 21
hi,
Thanks for the reply. I applied FixPak2 but the problem is not still resolved.
thanks and regards,
Satheesh
yang lu
Greenhorn

Joined: Oct 24, 2002
Posts: 15
You may need Version 4.0 FixPak 4. we use Webspher 4.0.4 and upload works fine.
Hope this helps
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: File Upload Problem with WAS 4.0.1