-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathissuebook.jsp
More file actions
44 lines (43 loc) · 1.75 KB
/
issuebook.jsp
File metadata and controls
44 lines (43 loc) · 1.75 KB
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
<%@include file="common/header.jsp" %>
<script type = "text/javascript" >
function disableBackButton()
{
window.history.forward();
}
setTimeout("disableBackButton()", 0);
</script>
<br><br>
<div class="w3-container">
<div class="w3-col" style="width: 10%"> </div>
<div class="w3-col" style="width: 80%">
<form method="post" action="issue_book.jsp">
<input type="text" class="w3-input" name="userid" placeholder="Enter UserID Here...">
<br>
<input type="submit" value="Submit" class="w3-btn w3-blue">
</form><br>
<%
if(null!=request.getAttribute("errorMessage"))
{ %>
<div class="w3-card w3-white w3-border-0 w3-pale-red" style="height: 60px;width: 450px">
<h4 style="color:red;padding-top: 15px;text-align: center">
<%
out.println(request.getAttribute("errorMessage"));
%>
</h4></div>
<%
}
else if(null!=request.getAttribute("errorMessage1"))
{ %>
<div class="w3-card w3-white w3-border-0 w3-pale-green" style="height: 60px;width: 450px">
<h4 style="color:green;padding-top: 15px;text-align: center">
<%
out.println(request.getAttribute("errorMessage1"));
%>
</h4></div>
<%
}
%>
</div>
<br><br><br><br><br>
<div class="w3-col" style="width: 10%"> </div>
</div>