WebContent/Manager/goods_xiangxi.jsp

(开头部分) 3KB

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

<%@ page contentType="text/html; charset=gb2312" import="java.sql.*"%>
<jsp:useBean id="connection" scope="page" class="com.wy.JDBConnection"/>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../CSS/style.css">
<title>
Goods_xiangxi page
</title>
</head>
<%!
ResultSet rs=null;
String sql;
String userName;
int num;
%>
<%
sql="select * from tb_GoodsMeg where ID="+request.getParameter("id");
%>

<body bgcolor="#ffffff">
<jsp:include page="mtop.jsp"/>
<table width="785" height="377" border="1" align="center" cellpadding="0" cellspacing="0"bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#333333">
  <tr>
    <td height="52" colspan="4" align="center">
    货物详细信息</td>
  </tr>
<%try
{
rs=connection.executeQuery(sql);
if(rs.next())
{
num=rs.getInt("ID");
%>
<tr>
    <td width="21%" height="29" align="center">货物类型:</td>
    <td width="31%" height="29" align="center"><%=rs.getString("GoodsStyle")%></td>
    <td width="21%" height="29" align="center">货物名称:</td>
    <td width="27%" height="29" align="center"><%=rs.getString("GoodsName")%></td>
  </tr>
  <tr>
    <td width="21%" height="29" align="center">货物数量:</td>
    <td width="31%" height="29" align="center"><%=rs.getString("GoodsNumber")%> </td>
    <td width="21%" height="29" align="center">数量单位:</td>
    <td width="27%" height="29" align="center">  <%=rs.getString("GoodsUnit")%></td>
  </tr>
  <tr>
    <td width="21%" height="29" align="center">起始省份:</td>
    <td width="31%" height="29" align="center"><%=rs.getString("StartProvince")%></td>
    <td width="21%" height="29" align="center">起始城市:</td>
    <td width="27%" height="29" align="center"><%=rs.getString("StartCity")%></td>
  </tr>
  <tr>
    <td width="21%" height="29" align="center">抵达省份:</td>
    <td width="31%" height="29" align="center"><%=rs.getString("EndProvince")%></td>
    <td width="21%" height="29" align="center">抵达城市:</td>
    <td width="27%" height="29" align="center"><%=rs.getString("EndCity")%></td>
  </tr>
  <tr>
    <td width="21%" height="30" align="center">运输类型:</td>
后面还有 49 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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