| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" |
| 3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 |
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd" |
| 5 |
version="4.0"> |
| 6 |
|
| 7 |
<display-name>EE9 Demo Simple WebApp</display-name> |
| 8 |
|
| 9 |
<!-- using a mime-type and extension that does NOT exist in jetty-http's mime.properties --> |
| 10 |
<mime-mapping> |
| 11 |
<extension>icon</extension> |
| 12 |
<mime-type>image/vnd.microsoft.icon</mime-type> |
| 13 |
</mime-mapping> |
| 14 |
|
| 15 |
<servlet> |
| 16 |
<servlet-name>hello</servlet-name> |
| 17 |
<servlet-class>org.eclipse.jetty.ee9.demo.simple.HelloWorldServlet</servlet-class> |
| 18 |
</servlet> |
| 19 |
<servlet-mapping> |
| 20 |
<servlet-name>hello</servlet-name> |
| 21 |
<url-pattern>/hello/*</url-pattern> |
| 22 |
</servlet-mapping> |
| 23 |
|
| 24 |
</web-app> |