wood burning stoves 2.0*
The moose likes Tomcat and the fly likes What should be docbase in <context> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "What should be docbase in <context>" Watch "What should be docbase in <context>" New topic
Author

What should be docbase in <context>

SaurabhSri Sri
Ranch Hand

Joined: May 01, 2008
Posts: 43
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.


Regards
SaurabhSri (SCJP 1.5)
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

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.


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
 
jQuery in Action, 2nd edition
 
subject: What should be docbase in <context>
 
Similar Threads
setup context under Tomcat
How to do Communication between two web applications
virtual directory in tomcat?
servlet reloading
configuration help.