Tom Ansley wrote: > Does validator somehow alter the work flow in struts? Only that it will return to the "input" attribute on a validation error. > My action doesn't get completely skipped because it does attempt to load a > jsp page, but I have no idea how it gets this jsp page and why it doesn't > call the action. > It gets the JSP page based on the "input" attribute. > Is this findForward not how I should be doing this? > It sounds like you want to use a dispatch action, actually. > The struts-config excerpt for addCamper in the family module is: > > <forward name="addCamper" contextRelative="true" > path="/jsp/camper/addCamper.do" redirect="true"/> > The "path" attribute strikes me as being very suspicious, but you might just be doing something... unexpected with how your application is set up. > <action path="/addCamper" > type="com.camp.actions.camper.addCamperAction" > name="CamperForm" > scope="session" > validate="true" > parameter="submit" > input="/addCamper.jsp"> > <forward name="add" path="/addCamper.jsp"/> > <forward name="menu" contextRelative="true" > path="/jsp/menu/Menu.do" redirect="true"/> > <forward name="add_registration" contextRelative="true" > path="/jsp/registration/addRegistration.do" redirect="true"/> > </action> > The validation will be called on entry to the "addCamper" action based on whatever code you have in "CamperForm"'s validation setup. If you enter "addCamper" with an invalid form it'll go to the input page, "/addCamper.jsp".
On a GET request it's unlikely the form will be filled out already, thus failing validation. Am I not understanding the question? Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]