<%
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection con=DriverManager.getConnection("jdbc:oracle:thin:@VAIO:1521:XE","system","manager");
PreparedStatement stmt=con.prepareStatement("Select * from tasks");
ResultSet rset=stmt.executeQuery();
while(rset.next())
{
%>
<html>
<body>
<table>
<tr>
<td>
<a href=""><%out.print(rset.getString(2));%></a>
</td>
<td>
<%out.print(rset.getString(3));%>
</td>
</tr>
</table>
</body>
</html>
<%
}
%>
需要使用表的所有条目作为超链接在新页面上打开数据库中的其他详细信息。知道怎么做吗?