Hello.
I've tested one servlet connected to Access, downloaded from the net.
My Jserv did run the servlet. Unfortunately it dosn't wanna run for the
second time or if we reload the page. The browser only shows clear
white page.
The error log is printed below.
sun.jdbc.odbc.JdbcOdbcPreparedStatement.executeQuery(JdbcOdbcPreparedStatement.java:106)
at SongDBServlet.displaySongs(Compiled Code)
at SongDBServlet.service(SongDBServlet.java:87)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.run(JServConnection.java:359)
at java.lang.Thread.run(Thread.java:479)
The portion of the code that do the connectivity is pasted below;
protected String dbURL = "jdbc:odbc:Musiq";
protected String userID = "";
protected String passwd = "";
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
dbConnection = DriverManager.getConnection(dbURL, userID, passwd);
Is the wrong is from my code, my jdk1.2.1 or my jserv?
Any solution? The point is that it works the first time.
TQ
azizan
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]