1 <?xml version="1.0" encoding="ISO-8859-1"?>
\r
3 <web-app version="2.4"
\r
4 xmlns="http://java.sun.com/xml/ns/j2ee"
\r
5 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
\r
6 xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
\r
7 http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
\r
9 <!-- Context Configuration locations for Spring XML files -->
\r
11 <param-name>contextConfigLocation</param-name>
\r
12 <param-value>/WEB-INF/spring-botlist-util.xml,/WEB-INF/botlistings-servlet.xml,/WEB-INF/applicationContext-*.xml</param-value>
\r
15 <!-- *************************************** -->
\r
16 <!-- ============= Filters ================= -->
17 <!-- *************************************** -->
19 <filter-name>LiftFilter</filter-name>
20 <filter-class>net.liftweb.http.LiftFilter</filter-class>
24 <filter-name>Acegi Filter Chain Proxy</filter-name>
\r
25 <filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class>
\r
27 <param-name>targetClass</param-name>
\r
28 <param-value>org.acegisecurity.util.FilterChainProxy</param-value>
\r
32 <filter-name>BotListHomeFilter</filter-name>
\r
33 <filter-class>org.spirit.servlet.filters.BotListHomeFilter</filter-class>
\r
37 <filter-name>BotListSpringCleanFilter</filter-name>
38 <filter-class>org.spirit.util.BotListSpringCleanFilter</filter-class>
42 <filter-name>Acegi Filter Chain Proxy</filter-name>
\r
43 <url-pattern>/botlistadmin/*</url-pattern>
\r
46 <!-- *************************************** -->
47 <!-- == LiftWeb Based Applications -->
48 <!-- == Date Created: 12/29/2007 -->
49 <!-- *************************************** -->
51 <filter-name>LiftFilter</filter-name>
52 <url-pattern>/lift/*</url-pattern>
56 <filter-name>BotListSpringCleanFilter</filter-name>
57 <url-pattern>/*</url-pattern>
59 <!-- *************************************** -->
\r
60 <!-- ============= End Filters ============= -->
61 <!-- *************************************** -->
\r
64 <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
\r
67 <listener-class>org.spirit.spring.BotListUserSessionListener</listener-class>
71 <servlet-name>botlistings</servlet-name>
\r
73 org.springframework.web.servlet.DispatcherServlet
\r
75 <load-on-startup>2</load-on-startup>
\r
79 <servlet-name>DayStatChart</servlet-name>
\r
81 org.spirit.servlet.chart.DayStatChart
\r
83 <load-on-startup>3</load-on-startup>
\r
86 - Maps the dispatcher to /example/*. All handler mappings in
\r
87 - example-servlet.xml will by default be applied to this subpath.
\r
88 - If a mapping isn't a /* subpath, the handler mappings are considered
\r
89 - relative to the web app root.
\r
91 - A single dispatcher could get mapped to multiple paths, like any servlet.
\r
94 <servlet-name>botlistings</servlet-name>
\r
95 <url-pattern>*.html</url-pattern>
\r
98 <servlet-name>botlistings</servlet-name>
\r
99 <url-pattern>/index.jsp</url-pattern>
\r
101 <!-- Removed Stat Chart due to performance issues
\r
103 <servlet-name>DayStatChart</servlet-name>
\r
104 <url-pattern>/dayStatChart.png</url-pattern>
\r
108 <welcome-file-list>
\r
109 <welcome-file>index.jsp</welcome-file>
\r
110 </welcome-file-list>
\r
112 <!-- *************************************** -->
\r
113 <!-- TAGLIBS defined -->
\r
114 <!-- *************************************** -->
\r
116 <taglib-uri>/spring</taglib-uri>
\r
117 <taglib-location>/WEB-INF/spring.tld</taglib-location>
\r
121 <taglib-uri>/botlistutil</taglib-uri>
\r
122 <taglib-location>/WEB-INF/botlistutil.tld</taglib-location>
\r
125 <!-- *************************************** -->
126 <!-- Handle error codes with the following page -->
127 <!-- *************************************** -->
130 <error-code>404</error-code>
131 <location>/defaulterror.jsp</location>
134 <error-code>500</error-code>
135 <location>/defaulterror.jsp</location>
139 <!-- *************************************** -->
140 <!-- End of Web.xml -->
141 <!-- *************************************** -->
\r