This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "getPathInfo() and getPathTranslated()" Watch "getPathInfo() and getPathTranslated()" New topic
Author

getPathInfo() and getPathTranslated()

Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
Hi, what does getPathInfo() return? And what does getPathTranslated()return?
Thanks.
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.

Bosun

Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
Hi what is "extra path"? Thanks.
 
 
subject: getPathInfo() and getPathTranslated()
 
Similar Threads
extra path
Get internal HTML link from HttpServletRequest object?
HttpServletRequest confusing methods
Alternative to getPathTranslated?
directory path