diff options
Diffstat (limited to 'maven/02-hello-webapp/src/main')
| -rw-r--r-- | maven/02-hello-webapp/src/main/webapp/WEB-INF/web.xml | 10 | ||||
| -rw-r--r-- | maven/02-hello-webapp/src/main/webapp/index.jsp | 5 |
2 files changed, 15 insertions, 0 deletions
diff --git a/maven/02-hello-webapp/src/main/webapp/WEB-INF/web.xml b/maven/02-hello-webapp/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000..b9c921f --- /dev/null +++ b/maven/02-hello-webapp/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<web-app + version="4.0" + xmlns="http://xmlns.jcp.org/xml/ns/javaee" + xmlns:javaee="http://xmlns.jcp.org/xml/ns/javaee" + xmlns:xml="http://www.w3.org/XML/1998/namespace" + 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_4_0.xsd"> + <display-name>Archetype Created Web Application</display-name> +</web-app> diff --git a/maven/02-hello-webapp/src/main/webapp/index.jsp b/maven/02-hello-webapp/src/main/webapp/index.jsp new file mode 100644 index 0000000..ee89d62 --- /dev/null +++ b/maven/02-hello-webapp/src/main/webapp/index.jsp @@ -0,0 +1,5 @@ +<html> +<body> +<h2><%= "Hello World!" %></h2> +</body> +</html> |
