aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/pages/registerPage.jsp
diff options
context:
space:
mode:
authorOgnjen Cirkovic <ciraboxkg@gmail.com>2022-12-22 01:07:57 +0100
committerOgnjen Cirkovic <ciraboxkg@gmail.com>2022-12-22 01:07:57 +0100
commitc2f57deb7c7216cd7b95c7f0fc4885c6350b38f6 (patch)
tree38d4c9a212456276c0efcf90c7fb07668fca17e3 /src/main/webapp/pages/registerPage.jsp
parent302ac8e5649fc9bb48cb160ac1528d87bfd08a22 (diff)
Napravljene stranice za login i registraciju.I index stranice za user-a i admin-a. Omogucena registracija i login. Klase zadovoljavaju bean standard.
Diffstat (limited to 'src/main/webapp/pages/registerPage.jsp')
-rw-r--r--src/main/webapp/pages/registerPage.jsp24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/main/webapp/pages/registerPage.jsp b/src/main/webapp/pages/registerPage.jsp
new file mode 100644
index 0000000..0f6cf3e
--- /dev/null
+++ b/src/main/webapp/pages/registerPage.jsp
@@ -0,0 +1,24 @@
+<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
+ pageEncoding="ISO-8859-1"%>
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="ISO-8859-1">
+<title>Insert title here</title>
+</head>
+<body>
+<form method="post" action="register.jsp">
+ <input type="text" name="username"> Korisnicko ime
+ <br>
+ <input type="password" name="password">Sifra
+ <br>
+ <p style="color:red;">
+ <%
+ if(request.getParameter("id")!=null &&request.getParameter("id").equals("-1") )
+ out.print("Username vec postoji");
+ %>
+ </p>
+ <button type="submit">Registracija</button>
+</form>
+</body>
+</html> \ No newline at end of file