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; }
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?
2 matches
Mail list logo