permaculture playing cards*
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
Author

absolute path

sai prasanna
Ranch Hand

Joined: May 02, 2005
Posts: 167
hi
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)
WEB-INF/
web.xml
classes/
src(.class files)
lib(.jar files)

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

Joined: Dec 11, 2004
Posts: 13410

When discussing your file system, absolute would mean the full path to the file:
/usr/local/myWebServer/myWebapp/myPage.html

When discussing hyperlinks, absolute means a full URL that could be pasted into the address window of a browser:
http://www.javaranch.com/index.html

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: http://aspose.com/file-tools
 
subject: absolute path