This week's giveaway is in the Java/Jakarta EE forum.
We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line!
See welcome thread
Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet Not Responding: multipart/form data  RSS feed

Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
We have developed an upload servlet which reads the request header submitted from a JSP Page(with File form control and enctype=multipart/form)
and then stores the file to the server temporary folder.

The servlet works fine all the time!! But....
If I keep the JSP page idle for 2-3 minutes and try to do an upload It gives the following excepttion and eventualy displays 'Page not available' Error.
"d699cdce but ContentType "multipart/form-data; boundary=---------------------------7d43a92bc021c" was not recognized"

Now If I reload the entire page and do the upload , it works fine.

Another Issue,is If I put a proxy /firewall between my server and client application.File data is not entirelly put into request, I examined the request and found only 20-25 KB of file data is submitted to the servlet.

Could Any one please advice me ,what is going wrong here!

Thanks in Adavance,
Joly Mathew
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!