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

Reply via email to