File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes absolute path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "absolute path" Watch "absolute path" New topic

absolute path

sai prasanna
Ranch Hand

Joined: May 02, 2005
Posts: 167
is absolute path means path starting from root context say for example
web application structure is as follows

servletexamples/-domain name
admin-module name
(This module contains .jsp or .html files)
src(.class files)
lib(.jar files)

root context means /servletexamples/admin is this correct
thanks in advance
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

When discussing your file system, absolute would mean the full path to the file:

When discussing hyperlinks, absolute means a full URL that could be pasted into the address window of a browser:

Anything else is a relative.
These can be relative to the file or URL that you're looking at, or relative to the root of the web application.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: absolute path
jQuery in Action, 3rd edition