aspose file tools*
The moose likes Servlets and the fly likes request.getPathInfo() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "request.getPathInfo() " Watch "request.getPathInfo() " New topic
Author

request.getPathInfo()

Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
Hi, supposedly we have an object request of HttpServletRequest type, what does request.getPathInfo() return exactly? The path to "this" servlet? How is it different from getServletContext().getRealPath("/") and request.getPathTranslated()?

Thanks.
 
Consider Paul's rocket mass heater.
 
subject: request.getPathInfo()