I have the war file of my application. I need to deploy this at the root level. The current URL is http://localhost:8080/war_name/application_name
.
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
In tomcat 7 with these changes, i'm able to access myAPP at / and ROOT at /ROOT
Add above to the
<Host>
section in server.xmlon tomcat v.7 (vanilla installation)
in your conf/server.xml add the following bit towards the end of the file, just before the
</Host>
closing tag:Note that docBase attribute. It's the important bit. You either make sure you've deployed app_name before you change your root web app, or just copy your unpacked webapp (app_name) into your tomcat's webapps folder. Startup, visit root, see your app_name there!