HttpSession session = request.getSession(); User user = (User) session.getAttribute(Constants.USER_KEY); if (user == null) return (mapping.findForward("logon")); return doExecute(mapping, form, request, response, user);