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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to