Title: different behaviors in application and servlet.

Hello there,

When I wrote following statement in an application, this worked fine. Now I am using same statement in servlets and getting SQL  exception, that is, Too few parameters. Expected 1.

con = DriverManager.getConnection("jdbc:odbc:customer","","customer");

I am using JSDK2.0 and MS Access as a backend database.
Can any body tell me, why the two different behaviors.

Bye,
Saleem Arif.

Reply via email to