• 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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic