Whats the best approach to place servlet context to tomcat 7 root? I have tried this post here but didn\'t work for me; i\'m using Apache Tomcat/7.0.42
tomcat 7
Apache Tomcat/7.0.42
In your Tomcat's conf/server.xml file, you'll typically have an entry
conf/server.xml
for your application.
Change the path to /
/
Add this in the Host entry. For example
Host
where the docBase attribute is the name of your app as it appears in the webapps folder. The docs explain the meaning of each attribute.
docBase
webapps