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:

Version

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.

Display Name

In case you also want to change the display name of your application, just add the following line to your web.xml file.
My App Name

That’s it. :-)


SPEAK / ADD YOUR COMMENT
Comments are moderated.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Return to Top

Tomcat: Change the Version and Display Name of your Application

FRESH / LATEST POSTS

TAG / CLOUD

.NET Blog Börse Canada Cisco codecs Driver Eclipse fotografie Fun Games gaz How To internship Intership J-1 Java JavaScript Mac Microsoft modelltechnik News Nvidia OSX Palo Alto Photo Plugins Praktikum SAP Software Travel Trouble USA Videos vista Visual visum volga VPN Web Web Services Windows Wordpress XP Zitate