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=18501>. 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=18501 Controller wipes out exisiting request form data Summary: Controller wipes out exisiting request form data Product: Struts Version: 1.1 RC1 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Controller AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If one action returns a mapping to the url for another action, the 2nd action will wipe out the form data. In struts-config: <action path="/action1" ... form="MyForm" scope="request"> <forward name="success" path="/action2.do"/> </action> <action path="/action2" ... form="MyForm" scope="request"> <forward name="success" path="/finaljsp.jsp"/> </action> In action1: PropertyUtils.setSimpleProperty(form, "field", "new value"); Action 2 doesn't modify form at all... but the JSP will not contains the updated "new value", it will contain the form value that was originally submitted with the request. The controller is wiping out the new bean in the request scope, even though that bean already exists as created by action1. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]