response.setContentType(Constants.TEXT_HTML);
getWebContext().getJSPDispatcher().dispatch("login/index.jsp", request,
response);
return;
}
CookieSession session = getWebContext().getSession(request, true);
session.setAttribute(Constants.ID, user.getId());
getWebContext().persistSession(session, request, response);
response.setContentType(Constants.TEXT_HTML);
response.sendRedirect(request.getContextPath() + "/overview");
}