You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2009/08/15 20:19:59 UTC
[jira] Updated: (WW-1838) Add default-result-path setting
[ https://issues.apache.org/struts/browse/WW-1838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Musachy Barroso updated WW-1838:
--------------------------------
Fix Version/s: (was: Future)
2.1.9
I agree with this
> Add default-result-path setting
> -------------------------------
>
> Key: WW-1838
> URL: https://issues.apache.org/struts/browse/WW-1838
> Project: Struts 2
> Issue Type: Improvement
> Reporter: Ted Husted
> Fix For: 2.1.9
>
>
> Most packages share a common path to the server pages.
> <action name="HelloWorld" class="example.HelloWorld">
> <result>/example/HelloWorld.jsp</result>
> </action>
> <action name="Login_*" method="{1}" class="example.Login">
> <result name="input">/example/Login.jsp</result>
> <result type="redirectAction">Menu</result>
> </action>
> <action name="*" class="example.ExampleSupport">
> <result>/example/{1}.jsp</result>
> </action>
> We should be able to set a default result path, so that this fact does not need to be repeated in multiple elements.
> <default-result-path>/example/</default-result-path>
> Or, allow the namespace to be used as the result-path prefix within a package.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.