📄 checkout_form.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" errorPage="../error.jsp" %>
<%@ include file="../jstl.inc"%>
<sql:query var="user" dataSource="${jspdev}" sql="SELECT * FROM user_info where userid='${sessionScope.id}'">
</sql:query>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../hellking.css" type=text/css rel=stylesheet>
</head>
<body>
<form method="post" action="orderProcess_do.jsp" name="form1">
<table align="center" bgcolor="#008800" border="0" cellspacing="2" cellpadding="5" width=60%>
<tr bgcolor="#cccccc">
<td>useid:</td>
<td><input size="15" name="userid" value=${sessionScope.id} readonly=""></td>
</tr>
<c:forEach var="row" items="${user.rows}">
<tr bgcolor="#cc99cc">
<td>交易额:</td>
<td><input size="15" name="totalprice" value=${sessionScope.cart.subTotal}></td>
</tr>
<tr bgcolor="#cccccc">
<td>收货人:</td>
<td><input size="15" name="shiptoname" value=${row.name}></td>
</tr>
<tr bgcolor="#cc99cc">
<td>详细地址:</td>
<td><input size="15" name="shipstreet" value="${row.street}"></td>
</tr>
<tr bgcolor="#cccccc">
<td>城市:</td>
<td><input size="15" name="shipcity" value="${row.city}"></td>
</tr>
<tr bgcolor="#cc99cc">
<td>省:</td>
<td><input size="15" name="shipstate" value="${row.state}"></td>
</tr>
<tr bgcolor="#cccccc">
<td>邮编:</td>
<td><input size="15" name="shipzip" value="${row.zipCode}"></td>
</tr>
<tr bgcolor="#cc99cc">
<td>卡号:</td>
<td><input size="15" name="creditcard" value="${row.cardNumber}"></td>
</tr>
<tr bgcolor="#cccccc">
<td>开户银行:</td>
<td><select size="1" name="cardtype">
<option value="01">建设银行</option>
<option value="02">工商银行</option>
<option value="03">交通银行</option>
<option value="04">农业银行</option>
<option value="05">招商银行</option>
</select></td>
<tr bgcolor="#cc99cc">
<td>提交:</td>
<td><input size="15" type="submit" value="提交"></td>
</tr>
</c:forEach>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -