⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 customer.jsp

📁 很好的东东 本人随便做的 仅供学习之用
💻 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>&nbsp;<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 + -