summaryrefslogtreecommitdiff
path: root/examples/app-a-web
diff options
context:
space:
mode:
Diffstat (limited to 'examples/app-a-web')
-rw-r--r--examples/app-a-web/pom.xml11
-rw-r--r--examples/app-a-web/src/main/webapp/WEB-INF/web.xml4
-rw-r--r--examples/app-a-web/src/main/webapp/index.jspx10
3 files changed, 25 insertions, 0 deletions
diff --git a/examples/app-a-web/pom.xml b/examples/app-a-web/pom.xml
new file mode 100644
index 0000000..4258644
--- /dev/null
+++ b/examples/app-a-web/pom.xml
@@ -0,0 +1,11 @@
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>io.trygvis.appsh</groupId>
+ <artifactId>appsh-parent</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+ <groupId>io.trygvis.appsh.examples</groupId>
+ <artifactId>app-a-web</artifactId>
+ <packaging>war</packaging>
+</project>
diff --git a/examples/app-a-web/src/main/webapp/WEB-INF/web.xml b/examples/app-a-web/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000..50e8c1e
--- /dev/null
+++ b/examples/app-a-web/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
+ version="3.0">
+</web-app>
diff --git a/examples/app-a-web/src/main/webapp/index.jspx b/examples/app-a-web/src/main/webapp/index.jspx
new file mode 100644
index 0000000..166ef4b
--- /dev/null
+++ b/examples/app-a-web/src/main/webapp/index.jspx
@@ -0,0 +1,10 @@
+<html xmlns:jsp="http://java.sun.com/JSP/Page">
+ <jsp:output doctype-root-element="HTML" doctype-system="about:legacy-compat"/>
+ <jsp:directive.page contentType="text/html;charset=UTF-8"/>
+ <head>
+ <title>Hello World!</title>
+ </head>
+ <body>
+ <h1>Hello World!</h1>
+ </body>
+</html>