|
-
September 23rd, 1999, 01:46 PM
#1
Servlet: Problem connecting database
I am trying to connect to database using JdbcOdbc driver in the init mathod of a Servlet. I have tested the connection writting a test java code. Connection is ok. But while executing Servlet it gives error:
SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
===================================
con = DriverManager.getConnection"jdbc dbc:MPRDB","tstmgr", "pass");
==================================
Help me
-Kaushik
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|