Add the display-name to the web.xml

This commit is contained in:
Luke Taylor 2005-07-16 23:54:55 +00:00
parent 95e99f9ea0
commit a67b529734
2 changed files with 3 additions and 1 deletions

View File

@ -61,7 +61,8 @@
<xsl:apply-templates select="filter-mapping"/>
<xsl:if test="not(./listener/listener-class[string()='org.springframework.web.context.ContextLoaderListener')">
<!-- Only add a spring context loader listener if there isn't one there already -->
<xsl:if test="not(./listener/listener-class[string()='org.springframework.web.context.ContextLoaderListener'])">
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>

View File

@ -4,6 +4,7 @@
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" >
<display-name>Acegifier Application</display-name>
<context-param>
<param-name>contextConfigLocation</param-name>