WebRoot/Supplyer/supplyer_manage.jsp

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
 <%@ page import="com.jiudai.domain.Supplyer"%>
<%@ page import="com.jiudai.dao.SupplyerDAO"%> 
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

	SupplyerDAO supplyerDAO = new SupplyerDAO();
	List supplyerList = supplyerDAO.QueryAllSupplyer();
	
	request.setAttribute("supplyerList",supplyerList);
%>

<html>
<head>
<title>汽车销售信息管理系统 - 供应商信息管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"> 
<link href="<%=basePath %>css/supplyer.css" rel="stylesheet" type="text/css"  />
<script src="<%=basePath %>opennew/alert.js" type="text/javascript"></script>
 <script src="<%=basePath %>opennew/Dialog.js" type="text/javascript"></script>
 <script src="<%=basePath %>js/ajax.js" type="text/javascript"></script>
  <script src="<%=basePath %>js/utf-8.js" type="text/javascript"></script> 
</HEAD>

<BODY> 
  <div id="container">
	 <s:if test="#request.result != null"> 
		<script>alert(UTF_8.decode('<s:property value="#request.result"/>'));</script>
	</s:if>
	
	<div id="title">
		<table width="98%" border="0" cellpadding="0" cellspacing="2" align="center">
		<tr> 
		    <td height="21"> <img src="<%=basePath %>images/ico/ico08.gif" /><font size="+1"><strong> 供应商信息管理</strong></font></td>
		  </tr>
		</table>
	</div>
	
	<div id="content">
		<table width="98%" border="0" cellspacing="2" cellpadding="0" align="center">
		  <tr>
		    <td>
			  <table width="100%" border="1" cellspacing="0" cellpadding="0" align="center" class="TableMenu">
				<tr style="background-color:#65A0D2;padding:5px;"><td>厂商名称</td><td>法人代表</td><td>联系电话</td><td>厂商地址</td><td>操作</td></tr>
			 
			      <%
			      		for(int i=0;i<supplyerList.size();i++) {
			      			Supplyer supplyer = (Supplyer)supplyerList.get(i);
			      %>
			       <tr style="padding:5px;">
				   <td id="supplyername_<%=i %>"><%=supplyer.getSupplyername()%></td>
				   <td id="lawperson_<%=i %>"><%=supplyer.getLawperson()%></td>
				   <td id="connectPhone_<%=i %>"><%=supplyer.getConnectPhone()%></td>
				   <td id="address_<%=i %>"><%=supplyer.getAddress()%></td> 
				   <td><a href="#" onclick="OpenEditSupplyer('<%=i %>','<%=basePath %>', '修改供应商信息','<%=supplyer.getSupplyername()%>');">修改</a>&nbsp;&nbsp;<a href="/CarSellSystem/supplyer/supplyer_DeleteSupplyer.action?supplyer.supplyername=<%=supplyer.getSupplyername()%>" onclick="return confirm('确认删除?');">删除</a></td>  
				   </tr>	
			      <%  
			      		}
			       %>
后面还有 11 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。