JSP Request Path
<%--
Copyright (c) 2002 by Phil Hanna
All rights reserved.
You may study, use, modify, and distribute this
software for any purpose provided that this
copyright notice appears in all copies.
This software is provided without warranty
either expressed or implied.
--%>
<pre>
In ShowPath2.jsp:
request.getRequestURI() = <%= request.getRequestURI() %>
request.getServletPath() = <%= request.getServletPath() %>
javax.servlet.include.request_uri =
<%= request.getAttribute
("javax.servlet.include.request_uri") %>
javax.servlet.include.servlet_path =
<%= request.getAttribute
("javax.servlet.include.servlet_path") %>
</pre>
JSP-RequestPath.zip( 852 k)Related examples in the same category