taken from: http://husted.com/about/scaffolding/catalog.htm
<action path="/Entry" type="org.wxxi.polls.http.Client" name="pollForm" validate="false" parameter="input"> <forward name="continue" path="/WEB-INF/pages/Entry.jsp"/> </action> and just use mapping.getParameter() ----- Original Message ----- From: "Antony Stace" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 30, 2002 5:04 PM Subject: Anyway to pass a parameter with the struts-config.xml file to an action? > Hi > > Is there anyway in the struts-config.xml file to specify a parameter and > its value to be passed to an action, ie I am looking for something like > <parameter name="action" value="new"> > > <action path="/listNewDepartments" > type="com.bogusdomain.bogusproject.ListDepartments" > name="departmentsForm" > > <forward name="success" path="/WEB-INF/pages/department.jsp"/> > <parameter name="action" value="new"> > </action> > > Is there some mechanism to do this using the struts-config.xml file? > > > -- > > > Cheers > > Tony > --------------------------------------------------------------------- > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>