} catch (BookNotFoundException ex) {
response.reset();
throw new ServletException(ex);
}
} else if (request.getParameter("Clear") != null) {
cart.clear();
out.println(
"<font color=\"#ff0000\" size=\"+2\"><strong>"
+ messages.getString("CartCleared")
+ "</strong> <br> <br> </font>");
}