getRequestDispatcher « Path « JSP-Servlet Q&A





1. Path problem in JSP with getRequestDispatcher    stackoverflow.com

In my application, I am using jsp:include as:

<jsp:include page="/jsp/selectRoom/listRoom.jsp" />
That's working fine, but when I include the same JSP in my servlet as:
RequestDispatcher rd = getServletContext().getRequestDispatcher("//jsp//selectRoom//listRoom.jsp");
rd.include(request, response);
That's not working. Am I making ...