Hi Rick,

thanks for your answer.
But if you defined the forward attribute no instance of the ForwardAction is
created. I checked the source code of the RequestProcessor.

Phil


----- Original Message -----
From: "Rick Reumann" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: 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 of the ForwardAction class?
>
> I'm not positive but I'm pretty sure both are using the
> ForwardAction class, the second approach above is just a shortcut
> version so you don't have to type out the FowardAction type = ""
> stuff. I could be wrong, though, so someone correct me if I am.
>
> --
> Rick
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to