[66] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
| 2 | <!-- |
---|
| 3 | Licensed to the Apache Software Foundation (ASF) under one or more |
---|
| 4 | contributor license agreements. See the NOTICE file distributed with |
---|
| 5 | this work for additional information regarding copyright ownership. |
---|
| 6 | The ASF licenses this file to You under the Apache License, Version 2.0 |
---|
| 7 | (the "License"); you may not use this file except in compliance with |
---|
| 8 | the License. You may obtain a copy of the License at |
---|
| 9 | |
---|
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
---|
| 11 | |
---|
| 12 | Unless required by applicable law or agreed to in writing, software |
---|
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
---|
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
| 15 | See the License for the specific language governing permissions and |
---|
| 16 | limitations under the License. |
---|
| 17 | --> |
---|
| 18 | <web-app xmlns="http://java.sun.com/xml/ns/j2ee" |
---|
| 19 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
---|
| 20 | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" |
---|
| 21 | version="2.4"> |
---|
| 22 | |
---|
| 23 | <display-name>Hello, World Application</display-name> |
---|
| 24 | <description> |
---|
| 25 | This is a simple web application with a source code organization |
---|
| 26 | based on the recommendations of the Application Developer's Guide. |
---|
| 27 | </description> |
---|
| 28 | |
---|
| 29 | <servlet> |
---|
| 30 | <servlet-name>HelloServlet</servlet-name> |
---|
| 31 | <servlet-class>mypackage.Hello</servlet-class> |
---|
| 32 | </servlet> |
---|
| 33 | |
---|
| 34 | <servlet-mapping> |
---|
| 35 | <servlet-name>HelloServlet</servlet-name> |
---|
| 36 | <url-pattern>/hello</url-pattern> |
---|
| 37 | </servlet-mapping> |
---|
| 38 | |
---|
| 39 | </web-app> |
---|