Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

doc root  RSS feed

 
satish pune
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • 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
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • 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
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!