virtual path « Path « JSP-Servlet Q&A





1. Get virtual path of the invoked servlet inside the servlet code    stackoverflow.com

If I've something like this:

<servlet>
    <display-name>Step</display-name>
    <servlet-name>Step</servlet-name>
    <servlet-class>com.foo.AServlet</servlet-class>
</servlet>
<servlet-mapping>
    <servlet-name>Step</servlet-name>
    <url-pattern>/aservlet/*</url-pattern>
</servlet-mapping>
and the servlet is invoked by a ...

3. Virtual Path Setting for Servlet ?    coderanch.com

4. Servlet virtual path    coderanch.com