Showing posts with label What is URL path ?. Show all posts
Showing posts with label What is URL path ?. Show all posts

Tuesday, April 15, 2008

What is URL path ?

The part of a URL passed by an HTTP request to invoke a servlet. A URL path consists of the context path + servlet path + path info, where Context path is the path prefix associated with a servlet context of which the servlet is a part.

If this context is the default context rooted at the base of the Web server's URL namespace, the path prefix will be an empty string.

Otherwise, the path prefix starts with a / character but does not end with a / character. Servlet path is the path section that directly corresponds to the mapping that activated this request. This path starts with a / character. Path info is the part of the request path that is not part of the context path or the servlet path