0

In the deployment descriptor (web.xml) I configured a filter with the following mapping /* and inside the filter I am logging the HttpServletRequest and one of the method I use is the getPathInfo. When using this URL http:localhost:8080/APP/test?code=13 the getPathInfo returns null. What is happening ?

Thanks in advance. Best regards

tt0686
  • 1,681
  • 5
  • 27
  • 52
  • What happens when you logs the result of `getPathInfo` in your Servlet(not in the filter)? This question can be an answer: https://stackoverflow.com/questions/4278083/how-to-get-request-uri-without-context-path – Tomoki Sato Mar 11 '22 at 16:08

0 Answers0