开发者

problem in file upload while using Internet Explorer

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 onl开发者_StackOverflow社区y 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?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜