📄 bookdetails.jsp
字号:
<%-- Copyright 2001 Sun Microsystems, Inc. All Rights Reserved. This software is the proprietary information of Sun Microsystems, Inc. Use is subject to license terms. --%><%@ taglib uri="/struts-bean" prefix="bean" %><%@ taglib uri="/struts-logic" prefix="logic" %><%@ include file="initdestroy.jsp" %><jsp:useBean id="currency" class="util.Currency" scope="application"> <jsp:setProperty name="currency" property="locale" value="<%=request.getLocale()%>"/></jsp:useBean><logic:present parameter="bookId"> <bean:parameter id="bookId" name="bookId" /> <jsp:setProperty name="bookDB" property="bookId"/> <bean:define id="book" name="bookDB" property="bookDetails" type="database.BookDetails"/> <h2><jsp:getProperty name="book" property="title"/></h2> By <em><jsp:getProperty name="book" property="firstName"/> <jsp:getProperty name="book" property="surname"/></em> (<jsp:getProperty name="book" property="year"/>)<br> <br> <h4>Here's what the critics say: </h4> <blockquote><jsp:getProperty name="book" property="description"/> </blockquote> <h4>Our price: <jsp:setProperty name="currency" property="amount" value="<%=book.getPrice()%>"/> <jsp:getProperty name="currency" property="format"/> </h4> <p><strong><a href="<%=request.getContextPath()%>/catalog?Add=<%=bookId%>">Add To Your Shopping Cart</a> </logic:present><a href="<%=request.getContextPath()%>/catalog">Continue Shopping</a></p></strong>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -