Skip to content

Commit f02d81d

Browse files
author
andrewcoder666
authored
Create web.xml
1 parent 462684c commit f02d81d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

WEB-INF/web.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" id="WebApp_ID" version="3.1">
3+
<display-name>helloworld</display-name>
4+
<welcome-file-list>
5+
<welcome-file>index.html</welcome-file>
6+
<welcome-file>index.htm</welcome-file>
7+
<welcome-file>index.jsp</welcome-file>
8+
<welcome-file>default.html</welcome-file>
9+
<welcome-file>default.htm</welcome-file>
10+
<welcome-file>default.jsp</welcome-file>
11+
</welcome-file-list>
12+
<servlet>
13+
<servlet-name>HelloWorld</servlet-name>
14+
<servlet-class>com.HelloWorld</servlet-class>
15+
</servlet>
16+
<servlet-mapping>
17+
<servlet-name>HelloWorld</servlet-name>
18+
<url-pattern>/index.html</url-pattern>
19+
</servlet-mapping>
20+
</web-app>

0 commit comments

Comments
 (0)