OK, so what you are saying then, is that if the my-action-success.jsp
file exists, it will be the one selected and if it does not, then the
myaction.jsp will be the one selected. So that if they both exist,
then expect my-action-success.jsp to be the result.


Jim C.

On Fri, Jul 24, 2009 at 12:08 PM, Musachy Barroso<musa...@gmail.com> wrote:
> yes that's how it works. for any action "MyAction", the "success"
> result can be "my-action-success.jsp" or "my-action.jsp". For any
> other result "x", the result is "my-action-x.jsp". (jsp is just an
> example, it could be ftl or vm, etc)
>
> musachy
>
> On Fri, Jul 24, 2009 at 7:48 AM, Jim Collings<jlistn...@gmail.com> wrote:
>> User loads up a URL that calls an action named SomethingAction which
>> is an mostly empty action. It just sends em to the something.jsp page
>> by returning "success".  What if there is a something-success page?
>> Will the behavior change?
>>
>> On the something.jsp page, the user submits a form that calls another
>> action. This one is called SomethingElseAction. It's not in a
>> different package so the url is simply "http://server/something-else";.
>>  SomethingElseAction returns "input" which routes the user to a page
>> called something-else-input.
>>
>> This sound right?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to