annotate webapp/WEB-INF/web.xml @ 13:02c01c48cec1
created an example page to test the servlet; updated the web.xml deployment descriptor to reflect the servlet naming
author |
luisf <luis.figueira@eecs.qmul.ac.uk> |
date |
Fri, 29 Nov 2013 16:30:13 +0000 |
parents |
b6acfffd25cd |
children |
33d7bd3c0990 |
rev |
line source |
luis@0
|
1 <?xml version="1.0" encoding="UTF-8"?>
|
luis@0
|
2 <web-app xmlns="http://java.sun.com/xml/ns/javaee"
|
luis@0
|
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
luis@0
|
4 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
|
luis@0
|
5 http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
|
luis@0
|
6 version="2.5">
|
luis@0
|
7
|
luis@0
|
8 <servlet>
|
luis@13
|
9 <servlet-name>HumanEchoServlet</servlet-name>
|
luis@13
|
10 <servlet-class>HumanEchoServlet</servlet-class>
|
luis@0
|
11 </servlet>
|
luis@0
|
12 <servlet-mapping>
|
luis@13
|
13 <servlet-name>HumanEchoServlet</servlet-name>
|
luis@13
|
14 <url-pattern>/HumanEcho</url-pattern>
|
luis@0
|
15 </servlet-mapping>
|
luis@0
|
16 </web-app>
|