diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2008-07-28 13:26:17 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2008-07-28 13:26:17 +0000 |
commit | 5d3d98ff3f62f528da46315463451b36a68fd433 (patch) | |
tree | 5fc4ef474e86d383034d04f20abaa1fb298ae0d3 /java/sca/samples/helloworld-servlet/src/main/webapp/WEB-INF/web.xml | |
parent | 5a315d4ba3fe1c046e139269ea82ad2330c25a06 (diff) |
Start of a sample using implementation.web
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@680347 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | java/sca/samples/helloworld-servlet/src/main/webapp/WEB-INF/web.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/java/sca/samples/helloworld-servlet/src/main/webapp/WEB-INF/web.xml b/java/sca/samples/helloworld-servlet/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000000..0d72802863 --- /dev/null +++ b/java/sca/samples/helloworld-servlet/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +--> + +<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 Helloworld Servlet Sample</display-name> +
+ <servlet> + <servlet-name>HelloworldServlet</servlet-name> + <servlet-class>sample.HelloworldServlet</servlet-class> + </servlet> + + <servlet-mapping> + <servlet-name>HelloworldServlet</servlet-name> + <url-pattern>/HelloworldServlet</url-pattern> + </servlet-mapping> + + <welcome-file-list id="WelcomeFileList">
+ <welcome-file>hello.html</welcome-file>
+ </welcome-file-list>
+ +</web-app> |