| <?xml version="1.0" encoding="ISO-8859-1"?> |
| <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> |
| <web-app> |
| |
| <display-name>Struts 2 Mailreader</display-name> |
| |
| <context-param> |
| <param-name>contextConfigLocation</param-name> |
| <param-value>classpath*:applicationContext*.xml</param-value> |
| </context-param> |
| |
| <filter> |
| <filter-name>Struts2</filter-name> |
| <filter-class> |
| org.apache.struts2.dispatcher.FilterDispatcher |
| </filter-class> |
| </filter> |
| |
| <filter-mapping> |
| <filter-name>Struts2</filter-name> |
| <url-pattern>/*</url-pattern> |
| </filter-mapping> |
| |
| <listener> |
| <listener-class> |
| org.springframework.web.context.ContextLoaderListener |
| </listener-class> |
| </listener> |
| |
| <!-- Application Listener for Mailreader database --> |
| <listener> |
| <listener-class> |
| mailreader2.ApplicationListener |
| </listener-class> |
| </listener> |
| |
| <welcome-file-list> |
| <welcome-file>index.html</welcome-file> |
| </welcome-file-list> |
| |
| </web-app> |