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

File Upload Problem with WAS 4.0.1

 
Satheesh Kumar G
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3892
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Satheesh Kumar G
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
Thanks for the reply. I applied FixPak2 but the problem is not still resolved.
thanks and regards,
Satheesh
 
yang lu
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic