We used to indicate the display name in our web.xml. Currently we do not have a web.xml file (and the addition seems to break the application)
We use spring boot / spring 4 / java 7 / maven3 to create recreation services.
Can someone tell me how to customize the display of the name? For example, from java code / SpringBootServletInitializer?
note: I currently do not have @WebServlet tags
After adding web.xml below, the tomcat manager will show the display name, but when I open my application, I get 404. Adding web.xml seems to break my application.
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0"> <display-name>MyT2ConfigServer</display-name> <description>MyT2ConfigServer description</description> </web-app>
Raymond domingo
source share