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=7202>. 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=7202 Add forward attribute to FormTag to allow submision to a global forward Summary: Add forward attribute to FormTag to allow submision to a global forward Product: Struts Version: Nightly Build Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Custom Tags AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] One of the great things about struts is that it allows the developer to externalize resource paths into the struts-config.xml. The web components lookup the appropriate mappings of logical names to web path names when needed. This is accomplished through both global/local forward definitions. One of the locations which this can be is not currently fully generalized is in the form tag. Currently a developer is required to submit a form directly to an action mapping. We found that a more ideal situation was to have a form submit to a global forward which then looked up the action mapping (usually, but not neccessarily) it maps to. So instead of code like this: <form action="/some/webapp/path/login.do" ...> You have code like this: <form forward="login"> This allowed us to further keep all of our context sensitive URL's out of the jsp's and in the struts-config.xml, so if we ever needed (which we did) to change webapp url's or redploy under a different webapp url the changes were localized to struts-config.xml -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>