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=21813>. 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=21813 [PATCH] Wildcard-matched actions Summary: [PATCH] Wildcard-matched actions Product: Struts Version: Nightly Build Platform: Other URL: http://www.twdata.org/struts-wildcard OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Controller AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] This patch allows wilcards to be used to match actions in the Struts configuration file. Matched values can then be substituted most anywhere in the "action" element or its recursive subelements. Highlights: - Completely backwards compatible - Requires no additional configuration - No performance penalties to applications that don't use it - Very fast and throughly tested as wildcard compilation code comes from Cocoon - Cuts the number of action elements required by as much as 60% or more - Simple syntax very easy to pickup Example: <!-- Matches all edit forms --> <action path="/edit*" type="org.apache.struts.webapp.example.Edit{1}Action" attribute="{1}Form" scope="request" validate="false"> <forward name="failure" path="/mainMenu.jsp"/> <forward name="success" path="/{1}.jsp"/> </action> Resources: - http://cocoon.apache.org/2.1/userdocs/matchers/wildcarduri-matcher.html - http://www.twdata.org/struts-wildcard Don --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]