struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank W. Zammetti" <fzli...@omnytex.com>
Subject Re: What is action's parameter usage
Date Mon, 04 Sep 2006 21:32:25 GMT
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: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
> 
> 
> 
> 

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: fzammetti@hotmail.com
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message