This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
out.println("<div class=\"row result\"><button class=\"btn btn-block\" name=\"reserve\" onClick=\"alert('I have been clicked!')\">Reserve</button></div>");
%>
<divclass="col-md-10">
<divclass="panel panel-default">
<divclass=panel-heading>Results of Books For Sale</div>
<tableclass=table>
<thead>
<tr>
<th>Owner</th>
<th></th>
<th>Title</th>
<th>Author</th>
<th>Edition</th>
<th>Publisher</th>
<th>Posted Date</th>
<th>Price</th>
<th></th>
</tr>
</thead>
<tbody>
<%
while (it.hasNext()) {
BookInfo book = it.next();
User seller = (User) UserActions.getUser(book.getSellerId());