[ https://issues.apache.org/struts/browse/WW-1838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Don Brown updated WW-1838:
--------------------------
Fix Version/s: (was: 2.1.x)
Future
> 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: Future
>
>
> 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.
|