-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.jsp
executable file
·45 lines (44 loc) · 1.18 KB
/
index.jsp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1" import="java.security.MessageDigest"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
String message = request.getParameter("message");
session.invalidate();
%>
<html>
<head>
<title>Balance Sheet - Login</title>
<script src="resources/jQuery/jquery.js" type="text/javascript"></script>
</head>
<script type="text/javascript">
<%if(message != null){%>
alert("<%=message%>");
<%}%>
</script>
<body>
<div>
<h4 style="color: green;">Home Management</h4>
<form id="form" action="LoginServlet" method="post" >
<table border="0">
<tr>
<td><span style="color:blue;">Sign in</span></td>
<td></td>
</tr>
<tr>
<td>Username</td>
<td><input type="text" name="name" id="username"></td>
</tr>
<tr>
<td>Password</td>
<td><input type="password" name="password" id="password"></td>
</tr>
<tr>
<td></td>
<td><input id="submit" type="submit"
value=" Sign In " name="submit" /></td>
</tr>
</table>
</form>
</div>
</body>
</html>