Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

[S2] Simple forking

Milan Milanovic

2008-07-02

Replies:

Author LoginPost Reply

Hi,

I need to choose sometimes one page to show, but someting another, from the
same action.
For example, when user click on "save" link in .jsp, I want to go to
Finish.jsp, but sometimes I want to go to some other page, that is handled
by another action class (so, it is not in current namespace).
How I can define that in struts.xml and choose from my action class (method)
?

This is my current action in struts.xml:

<action name="save" class="InputAction" method="save">
       <result>/pages/Finish.jsp</result>
</action>

but I need more results.

--
Thx, Milan
--
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 gg3721.com - Jax Systems, LLC, U.S.A.