aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes [WAS 7] java.io.IOException when file uploading with IE 8, works on FireFox 6 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 » Engineering » HTML, CSS and JavaScript
Bookmark "[WAS 7] java.io.IOException when file uploading with IE 8, works on FireFox 6" Watch "[WAS 7] java.io.IOException when file uploading with IE 8, works on FireFox 6" New topic
Author

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

Mauricio Burgos
Greenhorn

Joined: Oct 24, 2011
Posts: 2
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

Joined: Oct 24, 2011
Posts: 2
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
 
subject: [WAS 7] java.io.IOException when file uploading with IE 8, works on FireFox 6