Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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">
- <servlet>
- <servlet-name>calzoneServlet</servlet-name>
- <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
- <load-on-startup>1</load-on-startup>
- </servlet>
- <servlet-mapping>
- <servlet-name>default</servlet-name>
- <url-pattern>*.css</url-pattern>
- <url-pattern>*.js</url-pattern>
- <url-pattern>*.png</url-pattern>
- <url-pattern>*.jpg</url-pattern> <!-- *.html -->
- <url-pattern>*.json</url-pattern>
- <url-pattern>*.html</url-pattern>
- <url-pattern>*.less</url-pattern>
- <url-pattern>*.eot</url-pattern>
- <url-pattern>*.svg</url-pattern>
- <url-pattern>*.ttf</url-pattern>
- <url-pattern>*.woff</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>calzoneServlet</servlet-name>
- <url-pattern>/</url-pattern> <!-- *.html -->
- </servlet-mapping>
- <listener>
- <listener-class>
- org.springframework.web.context.ContextLoaderListener
- </listener-class>
- </listener>
- <context-param>
- <param-name>contextConfigLocation</param-name>
- <param-value>
- /WEB-INF/calzoneServlet-servlet.xml,
- /WEB-INF/config/spring-security.xml,
- /WEB-INF/classes/applicationContext.xml
- </param-value>
- </context-param>
- <!-- <display-name>Archetype Created Web Application</display-name>
- <resource-ref>
- <description>
- Resource reference to a factory for javax.mail.Session
- instances that may be used for sending electronic mail
- messages, preconfigured to connect to the appropriate
- SMTP server.
- </description>
- <res-ref-name>
- mail/Session
- </res-ref-name>
- <res-type>
- javax.mail.Session
- </res-type>
- <res-auth>
- Container
- </res-auth>
- </resource-ref> -->
- <!-- Spring Security -->
- <filter>
- <filter-name>springSecurityFilterChain</filter-name>
- <filter-class>
- org.springframework.web.filter.DelegatingFilterProxy
- </filter-class>
- </filter>
- <filter-mapping>
- <filter-name>springSecurityFilterChain</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
- </web-app>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement