struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] Updated: (WW-1838) Add default-result-path setting
Date Fri, 26 Mar 2010 08:12:27 GMT

     [ https://issues.apache.org/jira/browse/WW-1838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lukasz Lenart updated WW-1838:
------------------------------

    Fix Version/s:     (was: 2.2.0)
                   2.2.x

> 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
>             Fix For: 2.2.x
>
>
> 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.


Mime
View raw message