jump to navigation

Struts action, parameter attribute June 29, 2005

Posted by javafoo in javanotes, struts basic.
trackback

My gripe about this generic attribute called ‘parameter’ in the struts action config.
So I have something like:

path=”/logonProcess”
type=”naive.actions.LogonAction”
name=”logonForm”
parameter=”/pages/Logon.jsp”
validate=”true”
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.

Comments»

1. vishin - June 22, 2007

i am looking for the same :(

2. vishin - June 22, 2007
3. frishiciciach - October 29, 2008

Heh. Nice. I want everyone to know about my zany shoes Do you want a fresh joke from net? What’s the difference between an oral thermometer and a rectal thermometer? The taste.