c.setLocale(request.getLocale());
session.setAttribute("currency", c);
}
while (i.hasNext()) {
ShoppingCartItem item = (ShoppingCartItem) i.next();
bd = (Book) item.getItem();
c.setAmount(bd.getPrice());
out.println(
"<tr>" + "<td align=\"right\" bgcolor=\"#ffffff\">"
+ item.getQuantity() + "</td>"
+ "<td bgcolor=\"#ffffaa\">" + "<strong><a href=\""
+ response.encodeURL(
request.getContextPath()
+ "/bookdetails?bookId=" + bd.getBookId())
+ "\">" + bd.getTitle() + "</a></strong>" + "</td>"