RE: Linked Forwards?

2003-04-04 Thread Adam Sherman
On 04/03/03 19:04:20 -0800 Craig R. McClanahan wrote: If you are willing to ensure that all your Actions use the same forward name, you don't have to do anything at all to accomplish this goal. When you call ActionMapping.findForward(), Struts checks the local forward declarations first, and

Re: Linked Forwards?

2003-04-04 Thread awc
Hi Adam, This is what I am doing too. Every action may have one or more forwards. like time-out forward, success forward, cancel forward and any other action specific forwards. There are common global forwards which maps common local forwards like failure. I guess you will have to define

RE: Linked Forwards?

2003-04-04 Thread Craig R. McClanahan
On Fri, 4 Apr 2003, Adam Sherman wrote: Date: Fri, 04 Apr 2003 08:15:52 -0500 From: Adam Sherman [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Linked Forwards? On 04/03/03 19:04:20 -0800 Craig R

RE: Linked Forwards?

2003-04-03 Thread Rajendra Kadam
Yes, It's possible to declare a global forward and then refer them in ur action class. Following is way u have to define in struts-config.xml global-forwards type=org.apache.struts.action.ActionForward forward name=error path=/errorAction.do/ /global-forwards Then refer this

RE: Linked Forwards?

2003-04-03 Thread Adam Sherman
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.

RE: Linked Forwards?

2003-04-03 Thread Craig R. McClanahan
On Thu, 3 Apr 2003, Adam Sherman wrote: Date: Thu, 03 Apr 2003 21:41:54 -0500 From: Adam Sherman [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Linked Forwards? Is it possible to define a global