OK I am still lost. I found reference to this in the DTD, so that covers the config file.
However, I cannot find any mention of how to retrieve these properties in the Action subclass. I took a look at the javadocs for Action, ActionConfig, ActionMapping and I do not see anything relating to the set-property element of the configuration file. Are these translated by the struts framework into servlet context parameters? Is there anything in the struts documentation that describes this? Chris On 2/20/06, Laurie Harper <[EMAIL PROTECTED]> wrote: > Chris Cheshire wrote: > > If I am reading the docs right, the "parameter" attribute of the > > action element only allows you to define 1 generic parameter for the > > action. > > > > I need to be able to specify a few different parameters and their > > values. Prior to converting to struts I would put these as init-params > > in web.xml under each servlet declaration. > > > > Is there a way to do this in the struts config without using global > > context params in web.xml? > > > > Thanks > > > > Chris > > Is the <set-property> element what you're looking for? > > <action ...> > <set-property property="myProperty" value="..."/> > </action> > > L. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]