aspose file tools*
The moose likes Servlets and the fly likes Servlet Not Responding: multipart/form data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet Not Responding: multipart/form data" Watch "Servlet Not Responding: multipart/form data" New topic
Author

Servlet Not Responding: multipart/form data

Joly Mathew
Greenhorn

Joined: Jul 03, 2002
Posts: 13
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
 
wood burning stoves
 
subject: Servlet Not Responding: multipart/form data