aspose file tools*
The moose likes JDBC and the fly likes JSP ODBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JSP ODBC" Watch "JSP ODBC" New topic
Author

JSP ODBC

ajeesh_online
Greenhorn

Joined: Apr 30, 2006
Posts: 9
I connected ORACLE 8 personal from JAVA. But when I use the same CONNECTION STRING for JSP, it gives ERROR.

"DATASOURCENAME NOT FOUND AND NO DEFAULT DRIVER SPECIFIED"

Is there any other CONFIGURATION for JSP
Maximilian Xavier Stocker
Ranch Hand

Joined: Sep 20, 2005
Posts: 381
Originally posted by Ajeesh Miodutty:
I connected ORACLE 8 personal from JAVA. But when I use the same CONNECTION STRING for JSP, it gives ERROR.

"DATASOURCENAME NOT FOUND AND NO DEFAULT DRIVER SPECIFIED"

Is there any other CONFIGURATION for JSP


Is there are reason you are trying the use the ODBC driver and not a type-4 JDBC driver to connect? In my opinion it's not worth troubleshooting your ODBC connection error if a type 4 driver is readily available.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSP ODBC