tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tw796...@mail.inf.tu-dresden.de
Subject issue when redirect/forward on not - parsed form/multipart request
Date Mon, 24 Sep 2007 13:25:55 GMT
Hello,

Hopefully this is the right place for my problem.

I wrote a servlet (running on Apache Tomcat 5.5) using Commons FileUpload
and it works good except for the following problem:

If a user wants to upload a file larger then sizeMax, a
SizeLimitExceededException is thrown while parsing the request and I want
to redirect the user to another webpage displaying a warning/error. If the
users session expired the request is ignored (not parsed) and the user is
redirected to some page telling him about it.

If I try this using Tomcat 5.5 alone (localhost:8080/...) it works well,
but if I use it together with Ms IIS / isapi redirector (jk-1.2.25), then
those warnings are not shown, instead a (hope this is the right
translation) "Connection aborted, Connection to server was reset while
loading the page" is shown in the browser. No errors found in the logs of
Tomcat/Redirector. If the request is fully parsed (file upload ok), then
all goes OK.

Is there something that has to be done (sort of "cancelling" the request)?


Thanks in advance for your efforts! (..and please excuse my english ;-) )


Thomas


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message