Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet Not Responding: multipart/form data

 
Joly Mathew
Greenhorn
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic