📄 orderform.jsp
字号:
<%@page pageEncoding="GBK"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt" %>
<%@ taglib uri="http://www.springmodules.org/tags/commons-validator" prefix="v" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<html>
<head>
<title>
orderForm
</title>
<LINK href="<%=request.getContextPath()%>/img/PowerStone.css" type="text/css" rel="stylesheet">
</head>
<body >
<table class="tableFrame" cellspacing="1">
<tr>
<td class="tdTitle">填写订单</td>
</tr>
<td class="tdContent">
<table class="tableNoBorderCenter" align="center">
<spring:bind path="order.*">
<c:if test="${not empty status.errorMessages}">
<div class="error">
<c:forEach var="error" items="${status.errorMessages}">
<c:out value="${error}" escapeXml="false"/><br />
</c:forEach>
</div>
</c:if>
</spring:bind>
<form method="post" action="<%=request.getContextPath()%>/dreambike/edit_order.do" name="orderForm">
<table class="tableNoBorderCenter" align="center">
<spring:bind path="order.orderID">
<input type="hidden" name="orderID" value="<c:out value="${status.value}"/>"/>
</spring:bind>
<tr>
<th><label for="productID">
productID:</label></th>
<td>
<spring:bind path="order.productID">
<input type="text" class="input1" name="<c:out value="${status.expression}"/>" value="<c:out value="${status.value}"/>"/>
<span class="fieldError"><c:out value="${status.errorMessage}"/></span>
</spring:bind>
</td>
</tr>
<tr>
<th><label for="customeID">
customeID:</label></th>
<td>
<spring:bind path="order.customeID">
<input type="text" class="input1" name="<c:out value="${status.expression}"/>" value="<c:out value="${status.value}"/>"/>
<span class="fieldError"><c:out value="${status.errorMessage}"/></span>
</spring:bind>
</td>
</tr>
<tr>
<th><label for="customeEmail">
customeEmail:</label></th>
<td>
<spring:bind path="order.customeEmail">
<input type="text" class="input1" name="<c:out value="${status.expression}"/>" value="<c:out value="${status.value}"/>"/>
<span class="fieldError"><c:out value="${status.errorMessage}"/></span>
</spring:bind>
</td>
</tr>
<tr>
<td></td>
<td>
<input type="submit" class="button_default" name="save" value="Save"/>
</td>
</tr>
</table>
</form>
</table>
</td>
</table>
</body>
</html>
<script type="text/javascript">
document.forms["orderForm"].elements["productID"].focus();
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -