From c2f57deb7c7216cd7b95c7f0fc4885c6350b38f6 Mon Sep 17 00:00:00 2001 From: Ognjen Cirkovic Date: Thu, 22 Dec 2022 01:07:57 +0100 Subject: Napravljene stranice za login i registraciju.I index stranice za user-a i admin-a. Omogucena registracija i login. Klase zadovoljavaju bean standard. --- src/main/webapp/pages/adminIndex.jsp | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/main/webapp/pages/adminIndex.jsp (limited to 'src/main/webapp/pages/adminIndex.jsp') diff --git a/src/main/webapp/pages/adminIndex.jsp b/src/main/webapp/pages/adminIndex.jsp new file mode 100644 index 0000000..e4225e2 --- /dev/null +++ b/src/main/webapp/pages/adminIndex.jsp @@ -0,0 +1,38 @@ +<%@ page language="java" contentType="text/html; charset=ISO-8859-1" + pageEncoding="ISO-8859-1"%> + + + + +Admin + + + +

Registracija novog admina

+
+ Korisnicko ime +
+ Sifra +
+

+ <% + if(request.getParameter("id")!=null &&request.getParameter("id").equals("-1") ) + out.print("Username vec postoji"); + %> +

+

+ <% + if(request.getParameter("id")!=null &&request.getParameter("id").equals("-2") ) + out.print("Uspesna registracija"); + %> +

+ +
+

+

+ + + + + + \ No newline at end of file -- cgit v1.2.3