For example: http: // localhost: 7001 / myServlet / SomePath / Test? SomeParam = SomeValue
request.getPathInfo (): returns / somepath / test request.getRequestURL (): http: // localhost: 7001 / myservlet / somepath / test request.getRequestURI (): returns / myservlet / somepath / test request.getServletPath (): returns / myServlet Request.getQueryString (): Return someparam = SomeValue