You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2002/01/08 18:34:26 UTC

DO NOT REPLY [Bug 5743] New: - upload-max-size web.xml parameter not used

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=5743>.
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=5743

upload-max-size web.xml parameter not used

           Summary: upload-max-size web.xml parameter not used
           Product: Cocoon 2
           Version: 2.0
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: core
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: bill@gwha.com


If you use the upload-max-size in web.xml, it is not used.  I had to change
the code for org/apache/cocoon/servlet/CocoonServlet.java to pass the parameter
this.maxUploadSize instead of the parameter CocoonServlet.MAX_UPLOAD_SIZE to the
RequestWrapper.getServletRequest() function.  The variable gets set, it just
doesn't get used.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org