Setting the application context-root deployed in Apache Tomcat
Issue
-
We have a app moving from JBoss to tomcat, we have below configuration in the code to change the context root. How can we achieve this ?
<?xml version="1.0" encoding="UTF-8"?> <jboss-web> <context-root>/myapp/api</context-root> </jboss-web>
Environment
- Red Hat Enterprise Linux (RHEL)
- JBoss Web Server (JWS)
- Apache Tomcat
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.