In case you ever wondered how to change the version and display name of your application in tomcat here is a quick solution for that:
Before you upload your .war file to Tomcat rename it from MyApp.war to MyApp##1.0.war. This will include the version number into your deployment and it will be visible in your Tomcat managment view.
In case you also want to change the display name of your application, just add the following line to your web.xml file.
That’s it. :-)
- BROWSE / IN News
- « How-To increase the Java Heap Space
SPEAK / ADD YOUR COMMENT
Comments are moderated.