?? product_info.jsp
字號(hào):
<%@ page contentType="text/html; charset=gb2312" %>
<%@ page language="java" import="java.sql.*"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>無標(biāo)題文檔</title>
</head>
<style TYPE="text/css">
<!--
body {font-size:10pt;color:#415161}
td {font-size:10pt;color:#415161}
th {font-size:10pt;color:#415161}
</style>
<jsp:useBean id="j" scope="application" class="jdbc.jdbc"/>
<%
String enterprise_name=(String)session.getValue("e_d");
%>
<%
try{
Connection con=j.getConnection();
Statement statement=con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
String sql="select * from enterprise_production where enterprise_name='"+enterprise_name+"'";
ResultSet r=statement.executeQuery(sql);
if(!r.first())
response.sendRedirect("../nomessage.htm");
r.beforeFirst();
while(r.next())
{
%>
<table width="100%" border="0" >
<tr>
<td background="../img/bt.jpg"> <strong><font color="#FFFFFF"><%=enterprise_name%>成果信息表
</font></strong> </td>
</tr>
<tr>
<td>
<table width="100%" border="1" cellspacing="0" bordercolor="#CCCCFF">
<tr>
<td colspan="6"><strong>成果名稱</strong> <%=r.getString(2)%></td>
</tr>
<tr>
<td colspan="6"><strong>采用主要技術(shù)名稱</strong></td>
</tr>
<tr>
<td colspan="6"><%=r.getString(3)%></td>
</tr>
<tr>
<td width="8%"><strong>鑒定單位</strong> </td>
<td width="34%"><%=r.getString(4)%></td>
<td width="8%"><strong>鑒定機(jī)構(gòu)</strong></td>
<td width="27%"><%=r.getString(5)%></td>
<td width="8%"><strong>鑒定時(shí)間</strong> </td>
<td width="15%"><%=r.getString(6)%></td>
</tr>
</table>
</td>
</tr>
</table>
</table>
<br>
<%
}
}catch(SQLException ee){out.print("數(shù)據(jù)庫連接失?。?quot;);}
%>
<div align="right">
<input type=button name=button_fh value="返回" onclick="javascript:history.go(-1);">
<input type=button name=print value="打印" onclick="javascript:window.print();">
</div>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -