The Difference between getRequestURI and getPathInfo in HttpServletRequest Java EE Servlet 1. Overview In this quick tutorial, we’ll discuss the difference between getRequestURI() and getPathInfo() in the HttpServletRequest class. 2. Difference between getRequestURI() and getPathInfo() The function getRequestURI() returns the complete requested URI. This includes the deployment folder and servlet-mapping string.… Continue Reading http-servlet-request-requesturi-pathinfo