summaryrefslogtreecommitdiffstats
path: root/WebContent/LoginFormWithJpa.jsp
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2015-11-09 09:37:31 +0100
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-11-09 10:04:19 +0100
commitc58001fdf1defd03ff30cd9c39160b03eec02434 (patch)
tree3944040b15461618a1076a09a189d87dbfd45851 /WebContent/LoginFormWithJpa.jsp
parent886ea8362d80e8855da839a95f9539a2b199f6fe (diff)
downloadFIT-c58001fdf1defd03ff30cd9c39160b03eec02434.tar.gz
FIT-c58001fdf1defd03ff30cd9c39160b03eec02434.zip
Use JPA for storing the user accounts in a database
Diffstat (limited to 'WebContent/LoginFormWithJpa.jsp')
-rw-r--r--WebContent/LoginFormWithJpa.jsp16
1 files changed, 16 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