diff options
Diffstat (limited to 'sandbox/rfeng/helloworld-jsp-gae-contribution/war/WEB-INF/web.xml')
-rw-r--r-- | sandbox/rfeng/helloworld-jsp-gae-contribution/war/WEB-INF/web.xml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sandbox/rfeng/helloworld-jsp-gae-contribution/war/WEB-INF/web.xml b/sandbox/rfeng/helloworld-jsp-gae-contribution/war/WEB-INF/web.xml new file mode 100644 index 0000000000..4050c8274a --- /dev/null +++ b/sandbox/rfeng/helloworld-jsp-gae-contribution/war/WEB-INF/web.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="utf-8"?> +<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" + xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee +http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" + version="2.5"> + <servlet> + <servlet-name>HelloWorld</servlet-name> + <servlet-class>sample.appengine.HelloWorldServlet</servlet-class> + </servlet> + <servlet-mapping> + <servlet-name>HelloWorld</servlet-name> + <url-pattern>/helloworld</url-pattern> + </servlet-mapping> + <welcome-file-list> + <welcome-file>index.html</welcome-file> + </welcome-file-list> + <filter> + <filter-name>tuscany</filter-name> + <filter-class>org.apache.tuscany.sca.host.webapp.TuscanyServletFilter</filter-class> + + <init-param> + <param-name>node.configuration</param-name> + <param-value>http://people.apache.org/~rfeng/tuscany/nodes/helloworld-node.xml</param-value> + </init-param> + + </filter> + + <filter-mapping> + <filter-name>tuscany</filter-name> + <url-pattern>/*</url-pattern> + </filter-mapping> +</web-app> |