Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Servlets and the fly likes getPathInfo() and getPathTranslated() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "getPathInfo() and getPathTranslated()" Watch "getPathInfo() and getPathTranslated()" New topic

getPathInfo() and getPathTranslated()

Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
Hi, what does getPathInfo() return? And what does getPathTranslated()return?
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
getPathInfo() returns the extra path information associated with the request. The getPathTranslated() translates the extra path information into a real file system that actually has some meaningful information.


So much trouble in the world -- Bob Marley
Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
Hi what is "extra path"? Thanks.
I agree. Here's the link:
subject: getPathInfo() and getPathTranslated()
jQuery in Action, 3rd edition