PDA

View Full Version : problem in file upload



lethalpunch
13 Mar 2013, 12:53 AM
In internet explorer 8 when i try to upload a file the the IE tries to download the action item from the servlet.
and file is not uploading.
the same file is working fine in Firefox and Chrome.
Please help.

mitchellsimoens
15 Mar 2013, 12:11 PM
Sounds like a headers issue in the response.

lethalpunch
18 Mar 2013, 1:57 AM
I just put a check for IE and change the content type in header to text/plain for IE and application/json for others.