File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[WAS 7] java.io.IOException when file uploading with IE 8, works on FireFox 6

 
Mauricio Burgos
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I'm having an exception every time I try to upload a file with IE8, but this same action works with FireFox6:


I have a multipart resolver bean:


This is the stack i get:


I'm using Spring2 and Websphere 7

Can anyone please help me? Can't seem to find anything useful...

Thanks in advance,
Mauricio
 
Mauricio Burgos
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I managed to work around this problem:

This is the content of my POST request I was having:


To solve this problem I used a jquery plugin to handle the form (http://jquery.malsup.com/form/) this is the POST request content after the change:


The only difference I can find is the User-Agent property... I'm not really sure what helped solving this, my clue was that somehow IE was not handling correctly the request, so I tried to change the behavior via javascript...

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic