aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/pages/registerPage.jsp
blob: 0f6cf3ec37b98ed7b95988cf6d9b4f065aad6dd9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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>