• 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

doc root

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello ,
I am slightly confused with the terminology about docroot

Does this mean that it is the docroot of the webserver ?
Can an application server have a docroot at all ?

I am using Tomcat
In this case I place my application under "webapps"

Does each application under "webapps" have its own doc root ?

Thanks in advance ,
-satish
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
docroot is not a Tomcat term.
Where did you hear about it, with an editor/IDE, another server?

If you want to learn about the directory structure of a J2EE app
an the terminology used, I recommend reading SRV.4 in the servlet spec.
http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html

Also the "First App" article on the Tomcat site goes over the directory structure of a webapp.
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/deployment.html
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Perhaps the term you are thinking of is "docBase" as in this excerpt from a server.xml configuration file.

In which docBase defines the directory location of the manager application.
Bill
 
reply
    Bookmark Topic Watch Topic
  • New Topic