JDBC Connectivity error [message #91697] |
Sun, 12 January 2003 22:42 |
workdude
Messages: 1 Registered: January 2003
|
Junior Member |
|
|
i have set classpath correctly i guess
but it gives me the following error when connecting to the database
can somebody guide me ?
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred between lines: 12 and 63 in the jsp file: /jdbc.jsp
Generated servlet error:
/cis/castor/projects/srb5588/tomcat/jakarta-tomcat-4.0.6/work/Standalone/localhost/_/jdbc$jsp.java:69: ')' expected.
conn=DriverManager.getConnection("jdbc:oracle:thin:@oracle.cis.ksu.edu:1521:ORACLE,"vva4499","vva4499
|
|
|
Re: JDBC Connectivity error [message #91714 is a reply to message #91697] |
Sun, 19 January 2003 05:17 |
Dave B
Messages: 2 Registered: January 2003
|
Junior Member |
|
|
Can you post the lines in your JSP or generated servlet starting from Class.forname and perhaps the next 10-15 lines (which should show an attemp to execute a query). Change any password info.
Also check to see if the JDBC driver you use has any known bugs.
|
|
|
|