You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Jira)" <ji...@apache.org> on 2022/09/14 19:00:00 UTC
[jira] [Closed] (WW-1838) Add default-result-path setting
[ https://issues.apache.org/jira/browse/WW-1838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart closed WW-1838.
-----------------------------
Resolution: Won't Fix
> Add default-result-path setting
> -------------------------------
>
> Key: WW-1838
> URL: https://issues.apache.org/jira/browse/WW-1838
> Project: Struts 2
> Issue Type: Improvement
> Reporter: Ted Husted
> Priority: Major
> Fix For: 6.1.0
>
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)