summaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/LoginFormWithJpa.jsp16
-rw-r--r--WebContent/WEB-INF/classes/lib/eclipselink-2.6.1.zipbin0 -> 32587504 bytes
-rw-r--r--WebContent/WEB-INF/lib/.gitignore1
-rw-r--r--WebContent/WEB-INF/lib/mysql-connector-java-5.1.37-bin.jarbin0 -> 985603 bytes
-rw-r--r--WebContent/WEB-INF/web.xml4
5 files changed, 21 insertions, 0 deletions
diff --git a/WebContent/LoginFormWithJpa.jsp b/WebContent/LoginFormWithJpa.jsp
new file mode 100644
index 0000000..cf0cd3b
--- /dev/null
+++ b/WebContent/LoginFormWithJpa.jsp
@@ -0,0 +1,16 @@
+<%@ page language="java" contentType="text/html; charset=UTF-8"
+ pageEncoding="UTF-8"%>
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8" />
+<title>Login</title>
+</head>
+<body>
+ <form action="LoginServletWithJpa" method="post">
+ <label for="username">Username:</label><input type="text" name="username" id="username"><br>
+ <label for="password">Password:</label><input type="password" name="password" id="password"><br>
+ <input type="submit"><input type="reset">
+ </form>
+</body>
+</html> \ No newline at end of file
diff --git a/WebContent/WEB-INF/classes/lib/eclipselink-2.6.1.zip b/WebContent/WEB-INF/classes/lib/eclipselink-2.6.1.zip
new file mode 100644
index 0000000..32a7a38
--- /dev/null
+++ b/WebContent/WEB-INF/classes/lib/eclipselink-2.6.1.zip
Binary files differ
diff --git a/WebContent/WEB-INF/lib/.gitignore b/WebContent/WEB-INF/lib/.gitignore
new file mode 100644
index 0000000..f9be8df
--- /dev/null
+++ b/WebContent/WEB-INF/lib/.gitignore
@@ -0,0 +1 @@
+!*
diff --git a/WebContent/WEB-INF/lib/mysql-connector-java-5.1.37-bin.jar b/WebContent/WEB-INF/lib/mysql-connector-java-5.1.37-bin.jar
new file mode 100644
index 0000000..465af67
--- /dev/null
+++ b/WebContent/WEB-INF/lib/mysql-connector-java-5.1.37-bin.jar
Binary files differ
diff --git a/WebContent/WEB-INF/web.xml b/WebContent/WEB-INF/web.xml
index 84f418f..beedbd4 100644
--- a/WebContent/WEB-INF/web.xml
+++ b/WebContent/WEB-INF/web.xml
@@ -21,4 +21,8 @@
<param-name>salt</param-name>
<param-value>aabbcc112233</param-value>
</context-param>
+ <context-param>
+ <param-name>persistenceUnit</param-name>
+ <param-value>FIT</param-value>
+ </context-param>
</web-app> \ No newline at end of file