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


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.>




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to