Last active
August 29, 2015 14:18
-
-
Save WillSams/3bf5f76a2124b3439645 to your computer and use it in GitHub Desktop.
My web.xml configuration for Struts2 projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" 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>stormgames</display-name> | |
<filter> | |
<filter-name>struts2</filter-name> | |
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class> | |
</filter> | |
<filter-mapping> | |
<filter-name>struts2</filter-name> | |
<url-pattern>/*</url-pattern> | |
</filter-mapping> | |
<filter> | |
<filter-name>sitemesh</filter-name> | |
<filter-class>com.opensymphony.sitemesh.webapp.SiteMeshFilter</filter-class> | |
</filter> | |
<filter-mapping> | |
<filter-name>sitemesh</filter-name> | |
<url-pattern>/*</url-pattern> | |
<dispatcher>FORWARD</dispatcher> | |
<dispatcher>REQUEST</dispatcher> | |
</filter-mapping> | |
<listener> | |
<listener-class>org.apache.struts2.dispatcher.ng.listener.StrutsListener</listener-class> | |
</listener> | |
</web-app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment