• Post Reply Bookmark Topic Watch Topic
  • New Topic

What should be docbase in <context>  RSS feed

 
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!