maybe a super() call in the constructor. But you shouldn't need anymore than
that.

Brandon Goodin
Phase Web and Multimedia
PO Box 85
Whitefish MT 59937
P (406) 862-2245
F (406) 862-0354
[EMAIL PROTECTED]
http://www.phase.ws


-----Original Message-----
From: Guido [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 1:32 PM
To: Struts Users Mailing List
Subject: RE: Passing parameters to Actions


I wonder if MyExtendedActionMapping is as simple as:

public class MyExtendedActionMapping extends ActionMapping {
        private String xxx;
        public void setXXX(String xxx) { this.xxx = xxx; }
        public String getXXX() { return xxx; }
}

Should I implement any other method...?

Thanks.

--------------------------------------------
Guido García Bernardo
[EMAIL PROTECTED]
Spain is different.

On Tue, 25 Feb 2003, Brandon Goodin wrote:

} Here is a config sample:
}
} <action path="/myAction.do"
}            parameter="submit"
}            type="com.foo.MyAction"
}            name="myForm"
}            scope="request"
}            className="com.foo.MyExtendedActionMapping">
}         <set-property property="xxx" value="yyy"/>
}         <forward name="success" path="here.jsp" redirect="false"/>
}         <forward name="fail" path="there.jsp" redirect="true"/>
} </action>


---------------------------------------------------------------------
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