Hi

i am using a MultiActionController to submit a form


eg
<CODE>
public class MyController extends MultiActionController
{
public ModelAndView createMyRecord(HttpServletRequest req,HttpServletResponse res,MyDTO command)
{

// after validation

//submit the data to DB

return new ModelAndView("result","myDTO",command);

}


and i have created a validator


public class MyValidator implements Validator{

-- added validate(obj...Error error)

}





</CODE>



How can i call the validate method before createMyRecord is called ?