嚴重: Servlet.service() for servlet [jsp] in context with path [/wlxxpt2] threw exception [在 [43] 行處理 [news.jsp] 時發生例外
40: String queryName = request.getParameter("queryName");
41: String sql = "select * from news";
42:
43: PreparedStatement pstmt = conn.prepareStatement(sql);
44: ResultSet rs = pstmt.executeQuery();
45:
46: while (rs.next()) {
uj5u.com熱心網友回復:
把你連接資料庫的代碼貼出來 懷疑是你連接資料庫的問題轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/110279.html
標籤:Eclipse
上一篇:求救求救
