You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/04/15 23:45:26 UTC
DO NOT REPLY [Bug 19045] New: -
uploading file exceeding max file size resets IE connection
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19045>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19045
uploading file exceeding max file size resets IE connection
Summary: uploading file exceeding max file size resets IE
connection
Product: Struts
Version: 1.1 RC1
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: File Upload
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: walter.tam@openwave.com
The following code is used in an Action to detect a formfile upload that
exceeds the MaxFile size set in struts-config:
Boolean maxFileSizeExceeded =
(Boolean)request.getAttribute(
MultipartRequestHandler.ATTRIBUTE_MAX_LENGTH_EXCEEDED);
if ( null != maxFileSizeExceeded &&
true==maxFileSizeExceeded.booleanValue()){
throw new FormFileMaxSizeExceededException();
}
The code started execution and completed the forward to the JSP that displays
the error message while the browser continues to send upload packets. The line
trace showed the resin server completed the streaming of the response and sent
a FIN. When browser continue to send upload packets, the server send a TCP RST
to stop the browser. On Netscape 7.0 the browser will then display the error
message JSP, but in IE6 the browser will eventually display "page cannot be
displayed" as it times out, never displaying the JSP content it has received.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org