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=17583>. 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=17583 Handling parameters from MultipartRequestWrapper Summary: Handling parameters from MultipartRequestWrapper Product: Struts Version: 1.1 RC1 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Custom Tags AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Struts <bean:parameter> tag cannot lookup parameters submitted as a part of multi-part request. This causes problems in the following schenario: 1. We have a JSP page containing a multi-part (aka upload) form 2. The form has some input fields other than FormFile 3. We have some <bean:parameter> tags, which lookup parameters from the request 4. When user submits the form and it fails validation, request will be redirected to the input, but all input parameters are only contained in MultipartRequestWrapper. All the parameters are lost in RequestProcessor.doForward(), when it unwrappes the request. So we end up with different behaviour for normal forms and multi-part forms. With normal forms we have all form fields available as request parameters when form is redisplayed after validation fails. With multi-part forms there is no sych mapping. Actualy, I'm not sure if this is a designed behaviour or not, so this bug may be changed to an enhancement? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]