Servlet Not Responding: multipart/form data

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.