I have developed a web application that uploads the file from client machine to server. it works well with Firefox and Apple Safari browser but when i try it with Internet Explorer,it sends only the boundary.I have set EncType as multipart/form-data.i am using servlet to receive the file. But file sent by IE does not received at servlet only boundary is received. How can I solve this?
A:
working sample to upload file from JSP Servlet
compare it with your code and try to find out where you messed up.
org.life.java
2010-08-03 08:45:52
A:
There seems to be a problem loading large CSS-files in IE6 and IE7. Maybe there is something related to this?
Which version are you using and how large is the file?
(Why can't I comment TS?)
Marcus Johansson
2010-08-03 08:54:43
A:
You should not homegrow a multipart/form-data parser. Rather pick a robust, thoroughly developed and well maintained library like Apache Commons FileUpload. You can find a kickoff example in this answer.
BalusC
2010-08-03 11:30:38