| 1 | * web.xml |
---|
| 2 | {{{ |
---|
| 3 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 4 | <web-app id="WebApp_ID" 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"> |
---|
| 5 | <display-name>springweb</display-name> |
---|
| 6 | <servlet> |
---|
| 7 | <servlet-name>dispatcher</servlet-name> |
---|
| 8 | <servlet-class> |
---|
| 9 | org.springframework.web.servlet.DispatcherServlet |
---|
| 10 | </servlet-class> |
---|
| 11 | <load-on-startup>1</load-on-startup> |
---|
| 12 | </servlet> |
---|
| 13 | |
---|
| 14 | <listener> |
---|
| 15 | <listener-class> |
---|
| 16 | org.springframework.web.context.ContextLoaderListener |
---|
| 17 | </listener-class> |
---|
| 18 | </listener> |
---|
| 19 | |
---|
| 20 | <context-param> |
---|
| 21 | <param-name>contextConfigLocation</param-name> |
---|
| 22 | <param-value>/WEB-INF/dispatcher-servlet.xml</param-value> |
---|
| 23 | </context-param> |
---|
| 24 | |
---|
| 25 | <servlet-mapping> |
---|
| 26 | <servlet-name>dispatcher</servlet-name> |
---|
| 27 | <url-pattern>*.htm</url-pattern> |
---|
| 28 | </servlet-mapping> |
---|
| 29 | |
---|
| 30 | <filter> |
---|
| 31 | <filter-name>Acegi Filter Chain Proxy</filter-name> |
---|
| 32 | <filter-class> |
---|
| 33 | org.acegisecurity.util.FilterToBeanProxy |
---|
| 34 | </filter-class> |
---|
| 35 | <init-param> |
---|
| 36 | <param-name>targetBean</param-name> |
---|
| 37 | <param-value>filterChainProxy</param-value> |
---|
| 38 | </init-param> |
---|
| 39 | </filter> |
---|
| 40 | |
---|
| 41 | <filter-mapping> |
---|
| 42 | <filter-name>Acegi Filter Chain Proxy</filter-name> |
---|
| 43 | <url-pattern>/*</url-pattern> |
---|
| 44 | </filter-mapping> |
---|
| 45 | |
---|
| 46 | <welcome-file-list> |
---|
| 47 | <welcome-file>redirect.jsp</welcome-file> |
---|
| 48 | </welcome-file-list> |
---|
| 49 | |
---|
| 50 | <taglib> |
---|
| 51 | <taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri> |
---|
| 52 | <taglib-location>/WEB-INF/tlds/fmt.tld</taglib-location> |
---|
| 53 | </taglib> |
---|
| 54 | <taglib> |
---|
| 55 | <taglib-uri>http://java.sun.com/jstl/fmt-rt</taglib-uri> |
---|
| 56 | <taglib-location>/WEB-INF/tlds/fmt-rt.tld</taglib-location> |
---|
| 57 | </taglib> |
---|
| 58 | <taglib> |
---|
| 59 | <taglib-uri>http://java.sun.com/jstl/core</taglib-uri> |
---|
| 60 | <taglib-location>/WEB-INF/tlds/c.tld</taglib-location> |
---|
| 61 | </taglib> |
---|
| 62 | <taglib> |
---|
| 63 | <taglib-uri>http://java.sun.com/jstl/core-rt</taglib-uri> |
---|
| 64 | <taglib-location>/WEB-INF/tlds/c-rt.tld</taglib-location> |
---|
| 65 | </taglib> |
---|
| 66 | <taglib> |
---|
| 67 | <taglib-uri>http://java.sun.com/jstl/sql</taglib-uri> |
---|
| 68 | <taglib-location>/WEB-INF/tlds/sql.tld</taglib-location> |
---|
| 69 | </taglib> |
---|
| 70 | <taglib> |
---|
| 71 | <taglib-uri>http://java.sun.com/jstl/sql-rt</taglib-uri> |
---|
| 72 | <taglib-location>/WEB-INF/tlds/sql-rt.tld</taglib-location> |
---|
| 73 | </taglib> |
---|
| 74 | <taglib> |
---|
| 75 | <taglib-uri>http://java.sun.com/jstl/x</taglib-uri> |
---|
| 76 | <taglib-location>/WEB-INF/tlds/x.tld</taglib-location> |
---|
| 77 | </taglib> |
---|
| 78 | <taglib> |
---|
| 79 | <taglib-uri>http://java.sun.com/jstl/x-rt</taglib-uri> |
---|
| 80 | <taglib-location>/WEB-INF/tlds/x-rt.tld</taglib-location> |
---|
| 81 | </taglib> |
---|
| 82 | <taglib> |
---|
| 83 | <taglib-uri>http://java.sun.com/jstl/fn</taglib-uri> |
---|
| 84 | <taglib-location>/WEB-INF/tlds/fn.tld</taglib-location> |
---|
| 85 | </taglib> |
---|
| 86 | <taglib> |
---|
| 87 | <taglib-uri>http://www.springframework.org/spring</taglib-uri> |
---|
| 88 | <taglib-location>/WEB-INF/tlds/spring.tld</taglib-location> |
---|
| 89 | </taglib> |
---|
| 90 | |
---|
| 91 | </web-app> |
---|
| 92 | |
---|
| 93 | }}} |