<?xml version= "1.0" encoding= "UTF-8"?>
<web-app version= "2.5" 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_2_5.xsd ">
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<!--Specify the location of the spring configuration file, you can use "," "-" "*" to specify multiple XML files that need to be configured--
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:applicationContext.xml</param-value>
</context-param>
<!--listener: Instantiate Spring container on startup--
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<!--Struts2 Filters--
<filter>
<filter-name>struts2control</filter-name>
<filter-class>
Org.apache.struts2.dispatcher.ng.filter.strutsprepareandexecutefilter</filter-class>
</ Filter>
<filter-mapping>
<filter-name>struts2control</filter-name
<url-pattern>/*</url-pattern>
</filter-mapping>
</web-app