RE: How can I use set-property property=foo value=123 / in struts-config.xml

2001-05-11 Thread Hicks, James
You must extend the ActionMapping class to include the property you are wanting to set. Inside your action, just cast the ActionMapping object to your custom mapping object. Inside the deployment descriptor (web.xml), set the init-param mapping to point to your custom mapping object. --- start

RE: How can I use set-property property=foo value=123 / in struts-config.xml

2001-05-11 Thread Niall Pemberton
I think you got the wrong end of the stick. The action elements in struts-config relate to ActionMapping classes, not the Action class. You need to sub-class the ActionMapping class and add your properties and getters/setters to that class. Then you need to add a init-param element for the