Win a copy of Programming with Types this week in the Angular and TypeScript forum
or The Design of Web APIs in the Web Services forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Joe Ess
  • salvin francis

doc root

 
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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • 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
 
Author and all-around good cowpoke
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
 
Hold that thought. Tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!