struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Friedman" <hum...@ix.netcom.com>
Subject RE: What is action's parameter usage
Date Tue, 05 Sep 2006 21:24:04 GMT
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:FLI@mdacorporation.com]
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: fli@mdacorporation.com




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message