Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Mauricio Burgos
Greenhorn
Posts: 2
  • 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
  • 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...

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!