📄 modifyorder.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html>
<body>
<html:errors/>
<html:form action="/viewdata" method="post">
输入订单编号键字:<html:text property="key"/>
<html:submit>查询</html:submit>
</html:form>
<table>
<tr><td>订单编号</td><td>订单人</td><td>地址</td><td>价格</td><td>订单日期</td><td>操作</td></tr>
<logic:notEmpty name="list">
<logic:iterate id="li" name="list">
<tr>
<td><bean:write name="li" property="orderno"/></td>
<td><bean:write name="li" property="realname"/></td>
<td><bean:write name="li" property="address"/></td>
<td><bean:write name="li" property="price"/></td>
<td><bean:write name="li" property="time"/></td>
<td>
<logic:equal name="li" property="tag" value="0">
<bean:message key="message.notdeal"/>
</logic:equal>
<logic:equal name="li" property="tag" value="1">
<bean:message key="message.deal"/>
</logic:equal>
</td>
</tr>
</logic:iterate>
</logic:notEmpty>
</table>
</body>
<logic:equal name="pageFun" property="hasPrevious" value="true">
<html:link page="/viewdata.do?pageDirection=pre">上一页</html:link>
</logic:equal>
<logic:equal name="pageFun" property="hasNext" value="true">
<html:link page="/viewdata.do?pageDirection=next">下一页</html:link>
</logic:equal>
<bean:write name="pageFun" property="currentPage"/>/<bean:write name="pageFun" property="totalPage"/>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -