HttpSession session = request.getSession(); User user = (User) session.getAttribute(Constants.USER_KEY); if (user == null) { return mapping.findForward("logon"); } else { return super.processActionPerform(request, response, action, form, mapping); }