Webapp的display-name问题

简介:

临时需要做一个webapp,就按myeclipse缺省的web工程做了,web.xml也没改,本地测试没问题就放到服务器上去了。

测试发现,走 http://服务器ip:8080/appname居然出不来页面,undeploy再deploy还是一样,到tomcat管理页面http://服务器ip:8080/manager/html一看Display Name是空的,由于web工程就修改index.jsp页面一些html元素,于是想问题只能与web.xml有关,于是找到了<display-name>节点,填入必要的名称后,再之作一个war文件,发布上去http://服务器ip:8080/appname就显示正常了,http://服务器ip:8080/manager/htmlDisplay Name也显示了刚才填入的内容。

以前做Webapp总是先修改了<display-name>再修改其它的东西,所以没遇到这个问题,赶工时出现了,基本功还是不够啊。









本文转自张昺华-sky博客园博客,原文链接:http://www.cnblogs.com/xiandedanteng/p/4705647.html,如需转载请自行联系原作者





相关文章
使用antd-theme-webpack-plugin报错Error LessError: Cannot find module ‘antd/lib/style/themes/default.less
使用antd-theme-webpack-plugin报错Error LessError: Cannot find module ‘antd/lib/style/themes/default.less
887 0
使用antd-theme-webpack-plugin报错Error LessError: Cannot find module ‘antd/lib/style/themes/default.less
|
JavaScript 前端开发 容器
Web_Components 系列(九)—— Shadow Host 的 CSS 选择器
在上一节我们了解了如何给自定义组件设置样式,当时是将自定义标签的样式设置在主 DOM 中的:
286 0
Web_Components 系列(九)—— Shadow Host 的 CSS 选择器
|
JavaScript 开发者
Web Components系列(三) —— 创建 Custom Elements
根据前面的介绍,我们知道根据是否继承基本 HTML 元素,可以将自定义元素分为两类“
148 0
Web Components系列(三) —— 创建 Custom Elements
使用工具快速找出custom work center使用的ui component
使用工具快速找出custom work center使用的ui component
110 0
使用工具快速找出custom work center使用的ui component
|
移动开发 前端开发 Shell
SAP UI5 component container initialized in index html
Created by Wang, Jerry, last modified on Mar 23, 2015
113 0
SAP UI5 component container initialized in index html
|
Shell
when is SAP UI5 where is title 'Scaffold in Shell integration test' defined
Created by Wang, Jerry, last modified on Mar 26, 2015
82 0
when is SAP UI5 where is title 'Scaffold in Shell integration test' defined
How is correct index.html served by ui5 handler from BSP repository
Created by Jerry Wang, last modified on Aug 26, 2015 This wiki explains the process how the index.html of Fiori application is served by UI5 resource handler. The url of index looks like below: https://:/sap/bc/ui5_ui5/sap/zfiori150320/index.html?sap-client=001&sap-ui-language=EN&sap-ui-appcache=fal
73 0
How is correct index.html served by ui5 handler from BSP repository
|
Android开发 iOS开发
where is os type and version determined for a ui5 html
Created by Jerry Wang, last modified on Jun 27, 2015
where is os type and version determined for a ui5 html
|
Spring
Cannot find template location(s): [classpath:/templates/]
版权声明:本文为 testcs_dn(微wx笑) 原创文章,非商用自由转载-保持署名-注明出处,谢谢。 https://blog.csdn.net/testcs_dn/article/details/80914838 ...
5072 0