不知楼主想问什么?
看下API吧
getPathInfo
public String getPathInfo()Returns any extra path information associated with the URL the client sent when it made this request. The extra path information follows the servlet path but precedes the query string and will start with a "/" character. 
This method returns null if there was no extra path information. Same as the value of the CGI variable PATH_INFO. 
Returns:
a String, decoded by the web container, specifying extra path information that comes after the servlet path but before the query string in the request URL; or null if the URL does not have any extra path information