No, that's it. 1. Make your class extending o.a.s.a.ActionMapping 2. Add className="my.package.MyActionMapping" to your <action 3. Add your <set-property property="xxx" value="Whooo hooo!!!"/>
-- James Mitchell Software Engineer/Struts Evangelist > -----Original Message----- > From: Guido [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 25, 2003 3: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]