diff options
Diffstat (limited to 'examples/app-a-web/src')
-rw-r--r-- | examples/app-a-web/src/main/webapp/WEB-INF/web.xml | 4 | ||||
-rw-r--r-- | examples/app-a-web/src/main/webapp/index.jspx | 10 |
2 files changed, 14 insertions, 0 deletions
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> |