關於jsp中連線資料庫的問題,在下先說謝謝了

thanksman發表於2004-02-06
關於資料庫的問題。請幫忙看下,在下先謝謝了 發表時間: 2004年02月06日 10:14:04 回覆

我是按照http://www.kupage.com/webdesign/8/20030926/1401180000027htcqq3k.htm 上(二、jsp連線Sql Server7.0/2000資料庫 )去做的,只是我建的資料庫名字是jsp。在程式裡我也改了。我用的伺服器是jswdk,出現以下錯誤:
JSWDK WebServer Version 1.0.1
Loaded configuration from: file:F:\jswdk-1.0.1\webserver.xml
endpoint created: localhost/127.0.0.1:8080
com.sun.web.core.DefaultServlet: init
com.sun.jsp.runtime.JspServlet: init
Scratch dir for the JSP engine is: work\%3A8080%2Ftest
IMPORTANT: Do not modify the generated servlets
HANDLER THREAD PROBLEM: java.net.SocketException: Socket is closed
java.net.SocketException: Socket is closed
at java.net.Socket.getInputStream(Socket.java:672)
at com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:161)
望大俠們指點一二。

相關文章