-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwelcome1.jsp
93 lines (80 loc) · 2.64 KB
/
welcome1.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/bootstrap.min.css">
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<style>
.modal-header, h4, .close {
background-color: #000;
color:white;
text-align: center;
font-size: 30px;
}
.modal-footer {
background-color: #000;
}
</style>
<title>ALL Records</title>
</head>
<body>
<div class="container">
<div class="raw">
<div class="modal-content">
<div class="modal-header" style="padding:35px 200px;">
<h4>Portal - Officer's Login </h4>
</div>
<s:if test="%{#session.loginofficer!=null}">
<%System.out.println(112131324); %>
<table class="table">
<thead>
<tr>
<th>Login ID</th>
<th>Name</th>
<th>Phone No</th>
<th>Age</th>
<th>Address</th>
<th>Edit</th>
</tr>
</thead>
<s:iterator value="playerinfos">
<tbody>
<tr>
<td><s:property value="loginId"/></td>
<td><s:property value="fname"/> <s:property value="lname"/></td>
<td><s:property value="phoneno"/></td>
<td><s:property value="age"/></td>
<td><s:property value="address.street"/>, <s:property value="address.city"/>,</br> <s:property value="address.state"/>, <s:property value="address.zipcode"/></td>
<td><a href="<s:url namespace="/" action="updateInfo">
<s:param name="loginId" value="%{loginId}" />
<s:param name="fname" value="%{fname}" />
<s:param name="lname" value="%{lname}" />
<s:param name="phoneno" value="%{phoneno}" />
<s:param name="age" value="%{age}" />
<s:param name="street" value="%{address.street}" />
<s:param name="city" value="%{address.city}" />
<s:param name="state" value="%{address.state}" />
<s:param name="zipcode" value="%{address.zipcode}" />
</s:url>">
Edit</a></td>
</tr>
</tbody>
</s:iterator>
</table>
</s:if>
<s:else>
<%System.out.println("AAAAAAAAAAAAAAAAAAAAA"); %>
<h3>Please Login First :- <a href="Oregister.jsp">Click Here</a> </h3>
</s:else>
<div class="modal-footer">
<a href="officerlogout">
<button type="submit" class="btn btn-default " data-dismiss="modal">Officer_Logout</button>
</a>
</div>
</div>
</div>
</div>
</body>
</html>