Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What should be docbase in <context>

 
SaurabhSri Sri
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Can anyone explain, what should we specify in "docbase" attribute of context tag? I am trying to set Solr home and not able to understand -


Thanks a lot for any help.
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SaurabhSri Sri wrote:

Can anyone explain, what should we specify in "docbase" attribute of context tag?


docBase contains, simply the name your .war file, i.e the name of the context path, which maps to all the incoming request coming for this particular context path/web app !!

For more info, see tomcat docs.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic