Posted By:
Ash_H
Posted On:
Wednesday, February 9, 2005 08:11 AM
Hi,
Depends where you are generating the token....
In Action class
method1()//called before rendering the first jsp
//do the
if(isTokenValid(req)) { resetToken(req);
}
// end of isTokenTrue
else { err.add(ActionErrors.GLOBAL_ERROR,new ActionError("function.text"));
return mapping.findForward("multiple_submit_err");
}
method2()
//called once you submit
generateToken(req);
saveErrors(req,err);
Ash