WebContent/enterprise_select.jsp

(开头部分) 3KB

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

<%@ page contentType="text/html; charset=gb2312" language="java" %>
<%@ page 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>
enterprise
</title>
</head>
<%!
ResultSet rs=null;
String sql,login;
int code;
int pagesize=10;
int rowcount=0;
int pagecount=1,n;
int showpage=1;
%>

<body bgcolor="#ffffff">
<%
login=(String)session.getAttribute("login");
if(login==null)
{
%>
<script language="javascript">
alert("您还未登录,不能浏览详细信息!!!");
</script>
<%
response.sendRedirect("login.jsp");
}
%><jsp:include page="top.jsp"/>
<table border="1" width="786" align="center"bordercolor="#FFFFFF" cellpadding="0" cellspacing="0"bordercolordark="#333333" bordercolorlight="#FFFFFF">
<tr>
    <td width="786" align="center" colspan="6" height="32">企业信息</td>
  </tr>
<tr>
    <td width="786" align="center" height="27" colspan="6">
      <p align="right"> <a href="enterprise_add.jsp">发布信息...</a></td>
  </tr>
  <tr>
    <td width="18%" align="center"height="27">企业类型</td>
    <td width="17%" align="center"height="27">企业名称</td>
    <td width="17%" align="center"height="27">经营范围</td>
    <td width="17%" align="center"height="27">所属区域</td>
    <td width="17%" align="center"height="27">地址</td>
    <td width="18%" align="center"height="27">操作</td>
  </tr>
<%
 sql="select * from tb_Enterprise order by IssueDate desc";
try
{
 rs=connection.executeQuery(sql);
if(!rs.next())
{
%>
<script language="javascript">
	alert("没有企业信息");
后面还有 57 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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