-
Notifications
You must be signed in to change notification settings - Fork 0
/
booksSold.jspx
70 lines (64 loc) · 2.36 KB
/
booksSold.jspx
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
<?xml version="1.0" encoding="ISO-8859-1" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:c="http://java.sun.com/jsp/jstl/core" version="2.0">
<jsp:directive.page contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1" session="false"/>
<jsp:output doctype-root-element="html"
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
omit-xml-declaration="true" />
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Mom&Pop Book Store Home</title>
<link rel="stylesheet" href="res/main.css" type="text/css"
charset="utf-8" />
<link rel="StyleSheet" href="res/login.css" type="text/css"
title="cse4413" media="screen, print" />
</head>
<body>
<form action="Start" method="POST">
<div id="banner">
<a href="home.jspx">
<img src="images/Banner.jpg" alt="Banner" width="250" height="100"></img>
</a>
<span id="banner2">
<img id="banner2" src="images/Banner2.jpg" alt="Banner" width="400" height="100"></img>
</span>
</div>
<ul>
<li><a href="home.jspx" class="active">Home</a></li>
<li><a href="login.jspx">Log In</a></li>
<li>
<div class="dropdown">
<button class="dropbtn">Category</button>
<div class="dropdown-content">
<a href="scienceBooks.jspx">Science</a> <a href="fictionBooks.jspx">Fiction</a> <a href="engineeringBooks.jspx">Engineering</a>
</div>
</div>
</li>
<li id="searchbar" style="float: right"><input type="text"
id="search" placeholder="Search" /> <input
type="button" id="searchbutton" value="Search" /></li>
<li style="float: right"><button id="cartsubmit" name="cartsubmit" value="0"><img src="images/cart.png" class="thumbnail" height="40" width="50" /></button></li>
<li style="float: right"></li>
</ul>
Enter the Month you would like a report for: <input type="text"
placeholder="Month" required="true" name="j_Month" id="month" />
<button type="submit" name="enterMonth" value="true">Enter!</button>
<TABLE>
<c:forEach var="visitEvent" items="${PurchaseList}">
<tr>
<th>Book ID</th>
<th>Count</th>
</tr>
<tr>
<td>${purchaseList.bid}</td>
<td>${purchaseList.count}</td>
</tr>
</c:forEach>
</TABLE>
</form>
</body>
</html>
</jsp:root>