// check if user is correctly logged
checkUser(request);
// get the form
EditUserForm sform = (EditUserForm) form;
ActionErrors errors = sform.myValidate(request);
// user need cancel
if (request.getParameter("cancel") != null) {
// Forward to the next page
return (mapping.findForward("cancel"));