DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36687>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36687 ------- Additional Comments From [EMAIL PROTECTED] 2006-03-15 18:24 ------- On second thoughts... I think we also need to distinguish between the Controller's maximum upload size and the Action's maximum upload size. The Controller is reponsible for throttling the absolute maximum that Struts will allow; these should force the FileTooLargeException. But actions should be able to validate the size as well, with the obvious limitation it can only enforce <= sizes to the controller. I don't deal with file uploads, but I can think of scenarios: Developers may have a web application that wants a 1 MB upload in Action X and a 4 MB upload in Action Y. We don't want to bomb the request if a file-size accidently rolls over any of these limits, so the Developer would set the Controller maxUploadSize to 6 MB. So in the event of a sloppy upload, there's a good chance all the form fields will stick around up to 6 MB. Hence, this strategy would demand a "fileSize" validator. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]