forked from HTTP-RPC/Kilo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathweb.xml
More file actions
23 lines (19 loc) · 846 Bytes
/
web.xml
File metadata and controls
23 lines (19 loc) · 846 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version="3.1">
<display-name>HTTP-RPC Server Demo</display-name>
<servlet>
<servlet-name>NoteServlet</servlet-name>
<servlet-class>org.httprpc.RequestDispatcherServlet</servlet-class>
<init-param>
<param-name>serviceClassName</param-name>
<param-value>org.httprpc.demo.NoteService</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>NoteServlet</servlet-name>
<url-pattern>/notes/*</url-pattern>
</servlet-mapping>
</web-app>