Another useful method in the ActionMapping object is the getInputForward()
method which automatically returns an ActionForward representing the "input"
attribute in your action mapping.
----- Original Message -----
From: "martin j nilsson" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, January 14, 2003 1:40 AM
Subject: RE: ActionServlet.findForward replacement?
Hi again,
Thank you for your reply!
Yes, I noticed this and although that way works fine for me, this comment in
the javadoc makes me think that it's not the preferred best-practice:
--- 8< ----
This class would have been deprecated and replaced by
org.apache.struts.config.ActionConfig except for the fact that it is part of
the public API that existing applications are using.
--- 8< ----
regards,
martin
> One of the parameters you receive in the execute function, is
> an Actionmapping object. On that object you can call, e.g.
> mapping.findForward("SUCCESS"); or better yet,
> mapping.findForward(MappingKeys.SUCCESS);
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.435 / Virus Database: 244 - Release Date: 12/31/2002
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>