Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

absolute/relative path defined in web-DD

 
Bob CHOI
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shall we make a nice summary on absolute/relative path defined in web-DD together?

Informal defination:

absolute path: begining with "/", e.g. /abc/efg etc
relative path: begining without "/", e.g. 123/456, ../xyz/678 etc
web application root: unpacked delpoyed WAR file directory root, e.g $TOMCAT_HOME/webapps/wa01, $TOMCAT_HOME/webapps/wa02 etc

Here we go!

servlet-class: relative path only, related to /WEB-INF/classes
jsp-file: absolute path only, beginning with web application root
taglib-location: absolute path beginning with web application root, and relative path related to /WEB-INF

Go on please!


[ January 07, 2007: Message edited by: Bob CHOI ]
 
Bob CHOI
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
location of error-page: absolute path only, beginning with web application root
[ January 10, 2007: Message edited by: Bob CHOI ]
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!