HttpSession session = request.getSession();
ActionErrors errors = new ActionErrors();
String username = (String) PropertyUtils.getSimpleProperty(form, "username");
String password = (String) PropertyUtils.getSimpleProperty(form, "password");
User user = new User(username);
session.setAttribute("user", user);
return mapping.findForward("success");