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
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
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
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
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.
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
6 matches
Mail list logo