It applies to the ActionMapping, not the Action.
Subclass org.apache.struts.action.ActionMapping.  Define your property in
the subclass.  The in struts-config.xml add the className attribute to your
action elements like this:

<action className="com.blah.MyActionMapping" ...
 <set-property name="foo" value="bar"/>
 ...




> -----Original Message-----
> From: Smith, Johnathan M. [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 31, 2003 11:47 AM
> To: '[EMAIL PROTECTED]'
> Subject: set-property in the struts-config file
>
>
> Can someone please tell me how to use the set-property in the
> struts-config
> file?
>
> I am trying to pass a propert to one of my actions.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to