Re: Extend struts action-mapping forward tag

2005-02-28 Thread Hubert Rabago
You can achieve this using the subclass support in struts-config.xml. Create your custom ActionForward class and provide it with your property: public class CustomActionForward extends ActionForward { private int returnCode = 0; public int getReturnCode() { return returnCode; }

Extend struts action-mapping forward tag

2005-02-28 Thread Subcontrato Online2
Hi! I need to add a new attribute "resultcode" in the action-mapping tag. Example: This attribute will define a result code for the action the user requested. I'm thinking in extending the ActionMapping,ActionForward classes and implement this features. Does anyone tried this? Any other idea?