return new ModelAndView(getSuccessView());
return new ModelAndView(new RedirectView(getSuccessView()));
	public ModelAndView onSubmit(HttpServletRequest request, 									HttpServletResponse response, 									Object command, BindException errors) 	throws Exception { 		if (log.isDebugEnabled()) { 			log.debug("entering 'onSubmit' method..."); 		}		UserFormCommand userFormCmd = (UserFormCommand) command;				User user = userFormCmd.getUser();				// if delete was called delete object and return to the userlist		if (request.getParameter("delete") != null) { 			log.debug("delete user");			mgr.removeUser(user.getUsername().toString()); 			request.getSession().setAttribute("message", 					getMessageSourceAccessor() 					.getMessage("user.deleted", 							new Object[] {user.getFirstName() + ' ' + user.getLastName()}));		} else { 			// check if password and retyped password are the same			//if ( userFormCmd.getSecondPassword() != null || !user.getPassword().equals(userFormCmd.getSecondPassword())) {				//errors.rejectValue("secondpassword","not the same", "not the same");				//return new ModelAndView(new RedirectView(getFormView()), "fieldError", errors); 			//}							// distinct between update and save - because of assigned id in relation user			if (request.getParameter("update") != null) {				mgr.updateUser(user);			}			else {				if(mgr.checkUser(user.getUsername()) == null)  {					mgr.saveUser(user);				} else {					errors.rejectValue("user.username", "username exists", null, getMessageSourceAccessor().getMessage("user.usernaAlreadyExists")); 					return showForm(request, response, errors);				}			}						request.getSession().setAttribute("message", 					getMessageSourceAccessor().getMessage("user.saved", 							new Object[] {user.getFirstName() + ' ' + user.getLastName()})); 		} 				return new ModelAndView(getSuccessView()); 	} 