Struts action, parameter attribute June 29, 2005Posted by javafoo in javanotes, struts basic.
My gripe about this generic attribute called ‘parameter’ in the struts action config.
So I have something like:
Now someone pray tell me what this ‘paramter’ is supposed to do.
I looked up on the Apache site and it says:
“action general purpose configuration parameter”.
Alright, but what is that supposed to mean. Well it means different things to different action type classes, if it is a ForwardAction it can be the url you want the action to be forwarded to. For DispatchAction it is the key to the different method values. Also you can pass your own parameters that can be available to the action.