This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

absolute path

 
sai prasanna
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic