summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-integration/samples/sca/webapp/src/main/webapp/WEB-INF/web.xml
blob: 03985780861e9a99cf10978a0ebd1bde3a1395fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0" encoding="UTF-8"?>

<web-app 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" >

    <display-name>Apache Tuscany Simple Webapp Sample</display-name>

    <welcome-file-list id="WelcomeFileList">
        <welcome-file>calc.jsp</welcome-file>
    </welcome-file-list>

    <filter>
        <filter-name>TuscanyFilter</filter-name>
        <filter-class>org.apache.tuscany.runtime.webapp.TuscanyFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>TuscanyFilter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

    <listener>
        <listener-class>org.apache.tuscany.runtime.webapp.TuscanyContextListener</listener-class>
    </listener>
</web-app>