I am using apache + tomcat to do with my jsp project, and I do a jsp page with following codes: ======== <%@(protected)" %> <%@(protected).*" %> <%@(protected)" %> <%@(protected).*" %> <%@(protected).*" %> <%@(protected).*" %> <% java.sql.Connection connBooking; java.sql.Statement sqlStmt;
connBooking = java.sql.DriverManager.getConnection ("jdbc:odbc:onlinebooking","username","password"); sqlStmt = connBooking.createStatement (java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE,java.sql.ResultSet.CONCUR_READ_O NLY); %> ======= Then I create a ODBC source in System DNS with the name onlinebooking, this source is connect to a remote SQL server, I have tested the connection in ODBC interface and it can return ok. However the following error is returned when i load the above jsp page
I check the similar post here and someone suggest it is classpath problem. I find the following value is set in the apache tomcat property C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin\bootstrap.jar;
Anyone have suggestion for my case? Thank in advance
=========================================================================== To unsubscribe: mailto listserv@(protected)". For digest: mailto listserv@(protected)".
Some relevant archives, FAQs and Forums on JSPs can be found at: