• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

absolute/relative path defined in web-DD

 
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
reply
    Bookmark Topic Watch Topic
  • New Topic