reqDisp = servletContext.getRequestDispatcher("/applicationsecurity/RedirectLogin.jsp")reqDisp.forward(req,res);
or
RequestDispatcher rd =
getServletContext().getRequestDispatcher(path);
if (rd == null) {
...
return;
}
rd.forward(request, response);
reqDisp = servletContext.getRequestDispatcher("/applicationsecurity/RedirectLogin.jsp")reqDisp.forward(req,res);
RequestDispatcher rd =
getServletContext().getRequestDispatcher(path);
if (rd == null) {
...
return;
}
rd.forward(request, response);