Fórum
request.getRequestDispatcher doesnt work with servlet module
Jignesh Vachhani, modificado 7 Anos atrás.
request.getRequestDispatcher doesnt work with servlet module
Liferay Master Postagens: 803 Data de Entrada: 10/03/08 Postagens Recentes
Hi Friends,
Below both the statements are not working in Liferay servlet osgi module.
request.getRequestDispatcher("/detail.jsp").forward(request, response);
OR
RequestDispatcher requestDispatcher =_servletContext.getRequestDispatcher("/detail.jsp");
requestDispatcher.forward(request, response);
It gives NUll Pointer exception.
Any clue why ?
Below both the statements are not working in Liferay servlet osgi module.
request.getRequestDispatcher("/detail.jsp").forward(request, response);
OR
RequestDispatcher requestDispatcher =_servletContext.getRequestDispatcher("/detail.jsp");
requestDispatcher.forward(request, response);
It gives NUll Pointer exception.
Any clue why ?