?? customer.jsp
字號:
<%@ page language="java" pageEncoding="gb2312"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ 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>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>無標題文檔</title>
<style type="text/css">
<!--
.style1 {font-size: 24px}
-->
</style>
</head>
<body>
<h1 align="center">客戶詳細信息</h1><hr>
<logic:present name="ls">
<logic:notEqual value="0" name="listSize">
<table width="700" height="68" border="0" align="center">
<tr>
<td width="89" height="33"><div align="center">客戶名稱</div></td>
<td width="105"><div align="center">證件號碼</div></td>
<td width="98"><div align="center">誠信度</div></td>
<td width="95"><div align="center">優惠率</div></td>
<td width="97"><div align="center">聯系電話</div></td>
<td width="97"><div align="center">聯系地址</div></td>
<td width="89"><div align="center">操作</div></td>
</tr>
<logic:iterate id="customerinfo" name="ls">
<tr>
<td height="27"><div align="center"><bean:write name="customerinfo" property="name"/></div></td>
<td><div align="center"> <bean:write name="customerinfo" property="identifier"/> </div></td>
<td><div align="center"><bean:write name="customerinfo" property="credit"/></div></td>
<td><div align="center"><bean:write name="customerinfo" property="discount"/></div></td>
<td><div align="center"><bean:write name="customerinfo" property="tel"/></div></td>
<td><div align="center"><bean:write name="customerinfo" property="address"/></div></td>
<td><div align="center"><a href="customerinfo.do?forward=findByID&ID=<bean:write name='customerinfo' property='ID'/>">修改</a> <a href="customerinfo.do?forward=deleteCustomer&ID=<bean:write name='customerinfo' property='ID'/>">刪除</a></div> </td>
</tr>
</logic:iterate>
</table>
</logic:notEqual>
<logic:equal value="0" name="listSize">
<h4 align="center">沒有可顯示的記錄</h4><a href="sysmanage.htm">返回</a>
</logic:equal>
</logic:present>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -