Hi,
i write my thesis about the struts framework and i have a question about the
ForwardAction class. I think the forward attribute in an action-mapping has
the same effect as the use of the ForwardAction, so why is there a special
class to perform a forward?
I think you get the same result if
do Bezkonechnostiu]
- Original Message -
From: Phil [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 11:51 AM
Subject: Forward attribute vs. ForwardAction
Hi,
i write my thesis about the struts framework and i have a question about
the
ForwardAction class
Phil,
ForwardAction allows a response to still go through struts processing.
Not all of the Struts features will kick in or perform as expected
when you use forward=/login.jsp.
I don't have a full list of which ones will still work and which ones
won't, and it may depend on the complexity of
]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 7:49 PM
Subject: Re: Forward attribute vs. ForwardAction
Hi Phil,
If I understood you write, you have confusions over forward and
ForwardAction due to the name you have chosen for the Action subclass
Phil wrote:
action
path=/login
type=org.apache.struts.actions.ForwardAction
parameter=/login.jsp /
or:
action
path=/login
forward=/login.jsp /
So what is the benefit of the ForwardAction class?
I'm not positive but I'm pretty sure both are using the
ForwardAction class, the
a feature does not work with the forward attribute this would be very
helpful to me.
Phil
- Original Message -
From: Hubert Rabago [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 5:39 PM
Subject: Re: Forward attribute vs. ForwardAction
Rabago [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 5:39 PM
Subject: Re: Forward attribute vs. ForwardAction
Phil,
ForwardAction allows a response to still go through struts processing.
Not all of the Struts features will kick
: Wednesday, November 05, 2003 5:56 PM
Subject: Re: Forward attribute vs. ForwardAction
Phil wrote:
action
path=/login
type=org.apache.struts.actions.ForwardAction
parameter=/login.jsp /
or:
action
path=/login
forward=/login.jsp /
So what is the benefit
8 matches
Mail list logo