Adam Hardy wrote: > How do I create a mapping that doesn't need an ActionForm? Could you give me the >XML? Currently I've got the following with a dummy form and an empty dummy class, but >if I get rid of the name attribute, it gives an ActionError: > > <action path="/questionSetList" > type="com.siemens.csw.evote.QuestionSetListAction" > name="questionSetListForm" > scope="request" > validate="false" > > <forward name="success" path="/evote/questionsetlist.jsp"/> > </action>
All you need is: <action path="/questionSetList" type="com.siemens.csw.evote.QuestionSetListAction"> <forward name="success" path="/evote/questionsetlist.jsp"/> </action> -Mark