0

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?

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
Priyanjan
  • 329
  • 3
  • 5

1 Answers1

0

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.

Community
  • 1
  • 1
BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555