⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 checkout.jsp

📁 Java与面向对象程序设计实验教学讲义.复数类的实现,复数类的复杂运算,身份证号码的分析,图形界面设计
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312"  %><%@page import="java.util.Vector" %><%@page import="myBeans.BookBean" %><html><head><title>结帐信息</title></head><body><h1>结帐信息</h1><table><tr align="center" valign="middle" bgcolor="#CCCCCC">    <th width="180" scope="col">书名</th>    <th width="131" scope="col">作者</th>    <th width="122" scope="col">出版社</th>    <th width="85" scope="col">价格</th>    <th width="65" scope="col">数量</th></tr><%   Vector buyList=(Vector)session.getAttribute("shoppingcart");  for(int i=0;i<buyList.size();i++)  {    BookBean aBook=(BookBean)buyList.elementAt(i);%>  <tr>    <th width="180" scope="col"><%= aBook.getName() %></th>    <th width="131" scope="col"><%= aBook.getAuthor() %></th>    <th width="122" scope="col"><%= aBook.getPublisher() %></th>    <th width="85" scope="col"><%= aBook.getPrice() %></th>    <th width="65" scope="col"><%= aBook.getQuantity() %></th>  </tr><%  }%>	</table><h2>总金额为:<%= session.getAttribute("amount") %></h2><form name="form1" method="post" action="/Chapter12/Shopping.jsp">  <input type="submit" name="Submit2" value="继续购物"></form><p>&nbsp;</p></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -