?? dingdan.jsp
字號(hào):
<%@ page language="java" pageEncoding="gb2312"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-template" prefix="template" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-nested" prefix="nested" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html locale="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>無(wú)標(biāo)題文檔</title>
<style type="text/css">
<!--
body {
background-color: #33CC99;
}
.style1 {font-family: "宋體"}
-->
</style>
<logic:equal value="common" name="type"><h1 align="center">普通訂單表</h1></logic:equal>
<logic:equal value="special" name="type"><h1 align="center">特殊訂單表</h1></logic:equal>
<hr>
</head>
<body>
<form name="form1" method="post" action="order.do?forward=findAllBy&type=<bean:write name='type'/>">
<table width="367" border="0" align="center">
<tr>
<td width="85" height="25">查詢方式</td>
<td width="92"><select name="select">
<option value="0" selected>時(shí)間</option>
<option value="1">分銷商</option>
</select></td>
<td width="168"><input type="submit" name="Submit" value="提交"></td>
</tr>
</table></form>
<br><br><br>
<logic:present name="ls">
<logic:notEqual value="0" name="listSize">
<table width="547" border="1" align="center">
<tr>
<td width="99" height="18"><span class="style1">編號(hào)</span><br></td>
<td width="82"><span class="style1">客戶</span><br></td>
<td width="123"><span class="style1">分銷商</span><br></td>
<td><span class="style1">訂貨日期</span><br></td>
</tr>
<logic:iterate id="order" name="ls">
<tr>
<td height="25"><span class="style1"><bean:write name="order" property="ID"/></span><br></td>
<td><span class="style1"><bean:write name="order" property="customername"/></span><br></td>
<td><span class="style1"><bean:write name="order" property="sell"/></span><br></td>
<td><span class="style1"><bean:write name="order" property="ordertime"/></span><br></td>
</tr>
</logic:iterate>
</table></logic:notEqual>
<logic:equal value="0" name="listSize">
<h4 align="center">沒(méi)有可顯示的訂單記錄<a href="main.htm" target="mainFrame">返回</a></h4>
</logic:equal>
</logic:present>
</body>
</html:html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -