PageRenderTime 57ms CodeModel.GetById 33ms app.highlight 2ms RepoModel.GetById 18ms app.codeStats 0ms

/sitebricks-acceptance-tests/src/main/resources/WEB-INF/web.xml

http://github.com/dhanji/sitebricks
XML | 40 lines | 34 code | 6 blank | 0 comment | 0 complexity | 9a83fbda3e1084259809b94cb1618e69 MD5 | raw file
 1<?xml version="1.0" encoding="UTF-8"?>
 2<web-app version="2.4"
 3         xmlns="http://java.sun.com/xml/ns/j2ee"
 4         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 5         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" >
 6
 7    <filter>
 8        <filter-name>webFilter</filter-name>
 9        <filter-class>com.google.inject.servlet.GuiceFilter</filter-class>
10    </filter>
11
12    <filter-mapping>
13        <filter-name>webFilter</filter-name>
14        <url-pattern>/*</url-pattern>
15    </filter-mapping>
16
17    <listener>
18        <listener-class>com.google.sitebricks.example.SitebricksConfig</listener-class>
19    </listener>
20
21    <servlet id="jsp">
22      <servlet-name>jsp</servlet-name>
23      <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
24      <init-param>
25          <param-name>logVerbosityLevel</param-name>
26          <param-value>DEBUG</param-value>
27      </init-param>
28      <init-param>
29          <param-name>fork</param-name>
30          <param-value>false</param-value>
31      </init-param>
32      <load-on-startup>0</load-on-startup>
33    </servlet>
34 
35    <servlet-mapping>
36      <servlet-name>jsp</servlet-name>
37      <url-pattern>*.jsp</url-pattern>
38    </servlet-mapping>
39    
40</web-app>