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]

Reply via email to