1:<?xml version="1.0" encoding="UTF-8"?>
2:<web-app id="WebApp_9" version="2.4" 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">
3:
4: <display-name>Defect Tracker -Struts2</display-name>
5:
6: <!--Spring -->
7: <context-param>
8: <param-name>contextConfigLocation</param-name>
9: <param-value>/WEB-INF/application-context.xml</param-value>
10: </context-param>
11:
12: <listener>
13: <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
14: </listener>
15:
16:
17: <filter>
18: <filter-name>struts2</filter-name>
19: <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
20: </filter>
21:
22: <filter-mapping>
23: <filter-name>struts2</filter-name>
24: <url-pattern>/*</url-pattern>
25: </filter-mapping>
26:
27: <welcome-file-list>
28: <welcome-file>index.jsp</welcome-file>
29: </welcome-file-list>
30:
31:</web-app>