怪事。。帮看看什么问题
<%@ page import="java.sql.*" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
<title>Proxool-test.jsp</title>
</head>
<body>
<table><tr><td>ddddddddddddd</tr></td></table>
<h2>使用 Proxool Connection Pool</h2>
<%
Connection con = null;
Statement stmt = null;
//ResultSet rs = null;
String St = "";
try
{
con = DriverManager.getConnection("proxool.net");
CallableStatement proc =con.prepareCall("{call Pro_ProductFirstRawMtlTypeList (?,?)}");
proc.setString(1, "11");
proc.setString(2, "Str=79");
ResultSet rs=proc.executeQuery();
while(rs.next()) {
St = rs.getString("name");
%>
姓名为:<%= St %><br>
<%
}
stmt.close();
con.close();
}
catch(SQLException sqle)
{
out.println("sqle="+sqle);
}
finally
{
try {
if(con != null)
{
con.close();
}
}
catch(SQLException sqle)
{
out.println("sqle="+sqle);
}
}
%>
</body>
</html>
直接显示空白页。。连网页标题都没有