Thanks David, I frankly forgot it was used for anything other than DispatchAction :)

Frank

David Friedman wrote:
Or to put it simply: The parameter field is for your individual use.  It
allows you to put information in the action config which you can retrieve in
your action to use as you see fit.  Two good examples are DispatchAction and
ForwardAction.  DispatchAction uses it to determine which method to invoke.
ForwardAction uses that field as the name of a new url to forward over to,
in case you moved a URL or something in your webapp (though there are other
uses). Again, what you pass in the parameter field is totally up to you for
your own Action custom classes.

Regards,
David

-----Original Message-----
From: Fei LI [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 05, 2006 5:06 PM
To: user@struts.apache.org
Cc: Fei LI
Subject: What is action's parameter usage


Hi,

Can anybody help me to understand action's parameter usage. Can you give
me a simple example like:
<action parameter="reference to who and for what? ... />

Thanks

Fei Li
MDA/GSI St Hubert
Phone: 450 462 6970
Fax: 450 462 6998
email: [EMAIL PROTECTED]




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





--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Author of "Practical Ajax Projects With Java Technology"
 (2006, Apress, ISBN 1-59059-695-1)
Java Web Parts - http://javawebparts.sourceforge.net
 Supplying the wheel, so you don't have to reinvent it!

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

Reply via email to