--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
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 path out of getRequestURL(). But I'm curious why
getPathInfo() is always null. The docs say it returns null if there's
no path info. But that's not the case. I'm on TC 9.0.16.
- request.getPathInfo() Question Jerry Malcolm
- Re: request.getPathInfo() Question Mark Thomas