From e497fd5202d86585600476477845c36a13779869 Mon Sep 17 00:00:00 2001 From: "{admin@attacker.club}" Date: Sun, 8 Oct 2023 16:54:23 +0800 Subject: [PATCH] init --- README.md | 0 pom.xml | 12 ++++++++++++ src/.gitkeep | 0 src/main/.gitkeep | 0 src/main/webapp/.gitkeep | 0 src/main/webapp/WEB-INF/.gitkeep | 0 src/main/webapp/WEB-INF/web.xml | 11 +++++++++++ src/main/webapp/index.html | 1 + src/main/webapp/index.jsp | 18 ++++++++++++++++++ 9 files changed, 42 insertions(+) create mode 100644 README.md create mode 100644 pom.xml create mode 100644 src/.gitkeep create mode 100644 src/main/.gitkeep create mode 100644 src/main/webapp/.gitkeep create mode 100644 src/main/webapp/WEB-INF/.gitkeep create mode 100644 src/main/webapp/WEB-INF/web.xml create mode 100644 src/main/webapp/index.html create mode 100644 src/main/webapp/index.jsp diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..c90d41d --- /dev/null +++ b/pom.xml @@ -0,0 +1,12 @@ + + 4.0.0 + elven.vip + hello-world + war + 1.0 + + + tomcatdemo + + \ No newline at end of file diff --git a/src/.gitkeep b/src/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/src/main/.gitkeep b/src/main/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/src/main/webapp/.gitkeep b/src/main/webapp/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/src/main/webapp/WEB-INF/.gitkeep b/src/main/webapp/WEB-INF/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000..24b7cc2 --- /dev/null +++ b/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,11 @@ + + + + index.jsp + index.html + + + diff --git a/src/main/webapp/index.html b/src/main/webapp/index.html new file mode 100644 index 0000000..d7407a1 --- /dev/null +++ b/src/main/webapp/index.html @@ -0,0 +1 @@ +Hello World ! diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp new file mode 100644 index 0000000..d46d544 --- /dev/null +++ b/src/main/webapp/index.jsp @@ -0,0 +1,18 @@ +<%@ page language="java" %> + + Test.Web + +

web deployment test

+ + + + <% session.setAttribute("abc","abc"); %> + + + + + + +
Session ID<%= session.getId() %>
Created on<%= session.getCreationTime() %>
+ + \ No newline at end of file