On 2/28/06, SIRAGHER, JOEL <[EMAIL PROTECTED]> wrote: > I'm doing multiple submit buttons on my struts/jsp 1.1 page. My > debugger takes me to the correct action, but the action has no form data > in it. ... > RetrieveFormBean dataForm = (RetrieveFormBean) form; > // form data comes back null. Contains no data forwarded. > ..... > return mapping.findForward("retrieve"); > } > > > My struts-config.xml > ======== > <action path="/actions/retrieve" > name="RetrieveFormBean" > type="com.struts.action.RetrieveAction" > scope="session" > parameter="method"> > <forward name="Retrieve" path="/tiles/Retrieve.jsp"/> > </action>
RetrieveFormBean mentioned in the "name" attribute is not a class name, it is the name of an ActionForm instance. Have you defined it in <form-beans> section? <rant>Tim Fennel is right, Struts configuration is a sucky thing.</rant> Michael. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]