diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-14 17:08:37 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-14 17:08:37 +0000 |
commit | b9c1e93951e71d729ea283e96f39729033465c57 (patch) | |
tree | fa1fc24c9618cb0ed931216e371d452e566968cc /sandbox/rfeng/helloworld-jsp-gae-contribution/war/WEB-INF/web.xml | |
parent | a5fd66b093d087b2062e9143c0c4732ed98d0ed9 (diff) |
Add a variant of helloworld-jsp-google-appengine that loads the Tuscany SCA node from the people.apache.org
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@825195 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-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> |