How to set the context path of a web application in tomcat 7.0



How to set the context path of a web application in tomcat 7.0..

Answer / Ashutosh Trivedi

To set the context path of a web application in Tomcat 7.0, you need to edit the server.xml file located under the conf directory of your Tomcat installation. After finding the appropriate Connector element for your web application, add or modify the context attribute with the desired context path.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Tomcat Interview Questions

What are the catalina's configuration files?

1 Answers  


How can I access members of a custom realm or principal?

1 Answers  


Can I set java system properties differently for each webapp?

1 Answers  


How would you set up tomcat for remote debugging?

1 Answers  


What is context path in tomcat?

1 Answers  


Mention what are catalina’s configuration files?

1 Answers  


Explain the difference between tomcat 4.1 and tomcat 5.0?

1 Answers  


How can we configure apache tomcat in java eclipse ide or explain the setup of apache tomcat server?

1 Answers  


Mention with how many valves does tomcat configured with?

1 Answers  


What is tomcat used for?

1 Answers  


Is tomcat a java application?

1 Answers  


What is the difference between tomcat and an application server?

1 Answers  


Categories