Tomcat Manager中的Web应用程序版本 [英] Web app version in Tomcat Manager

查看:157
本文介绍了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.

这篇关于Tomcat Manager中的Web应用程序版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆