This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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
  • 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...

 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic