Re: request.getPathInfo() Question

2021-07-20 Thread Mark Thomas
On 19/07/2021 20:55, Jerry Malcolm wrote: I have a servlet in the ROOT context mapped to "/".  I'm using request.getPathInfo() to get everything after the ".com/" in the URL. But no matter what is added to the url after .com/, getPathInfo() always returns null.  I printed out getRequestURL(), a

request.getPathInfo() Question

2021-07-19 Thread Jerry Malcolm
I have a servlet in the ROOT context mapped to "/".  I'm using request.getPathInfo() to get everything after the ".com/" in the URL.  But no matter what is added to the url after .com/, getPathInfo() always returns null.  I printed out getRequestURL(), and it shows everything.  I can parse the