Web app version in Tomcat Manager

前端 未结 5 1252
猫巷女王i
猫巷女王i 2020-12-13 17:55

How can I configure my web application for deployment in Tomcat so that Tomcat Manager shows the version in the table that lists all applications installed (/manager/html/li

5条回答
  •  被撕碎了的回忆
    2020-12-13 17:58

    The version is the one specified when deploying the application through the manager.

    See the documentation:

    tag: Specifying a tag name, this allows associating the deployed webapp with a version number. The application version can be later redeployed when needed using only the tag.

    Also, you can deploy multiple versions of the same war by adding the version after ## (e.g. myApp##1.0.war, myApp##1.1.war). The manager will show this version in the overview.

提交回复
热议问题