Tomcat Manager中的Web应用程序版本
如何在Tomcat中配置我的Web应用程序以进行部署,以便Tomcat Manager在表中显示列出所有已安装应用程序的版本(/ manager / html / list)?
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/list)?
目前它为所有应用程序(包括其自身)显示None Specified。我正在使用Tomcat 7.0.11。
Currently it shows "None Specified" for all apps, including itself. I am using Tomcat 7.0.11.
该版本是通过管理器部署应用程序时指定的版本。
The version is the one specified when deploying the application through the manager.
请参阅文档:
标记:指定标记名称,这允许将部署的webapp与版本号相关联。稍后可以使用标记重新部署应用程序版本。
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.
此外,您可以通过添加部署同一战争的多个版本##之后的版本(例如myApp ## 1.0.war,myApp ## 1.1.war)。经理将在概述中显示此版本。
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.