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 your app, so it may or may not affect you. Think of ForwardAction as add'l future-proofing for your app/action.
Hubert --- Phil <[EMAIL PROTECTED]> wrote: > 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 you use: > > <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? > > Thanks, > Phil > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

