struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Sherman <a...@tritus.ca>
Subject RE: Linked Forwards?
Date Fri, 04 Apr 2003 02:41:54 GMT
> Is it possible to define a global forward like "mainListView" and then
> define a forward inside an Action that points to it?
>
> I would like to use this so my actions forward to standard forwards like
>
> "success", "failure", "cancelled", etc. Then I would map those local
> forwards to global forwards as needed.

I think I wasn't clear.

What I want is:

<global-forwards>
	<forward name="mainMenu" path="..."/>
</global-forwards>

With actions like:

<action name="doSomethingAction">
	<forward name="success" path="mainMenu"/>
</action>

This way I can easily change where actions redirect to.

Thanks,

A.

--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819

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


Mime
View raw message