struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Friedman" <>
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.


-----Original Message-----
From: Fei LI []
Sent: Tuesday, September 05, 2006 5:06 PM
Cc: Fei LI
Subject: What is action's parameter usage


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? ... />


Fei Li
MDA/GSI St Hubert
Phone: 450 462 6970
Fax: 450 462 6998

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message