This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Micro Frontends in Action and have Michael Geers on-line!
See this thread for details.
Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

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
 
On my planet I'm considered quite beautiful. Thanks to the poetry in this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic