Servlet - JDBC
1 posts in topic
Flat View  Flat View

Posted By:   Pratheusha_Menon
Posted On:   Sunday, March 3, 2002 09:02 PM


We are developing an application using servlets, which takes the database name,user name and password as user input.

These data has to be checked to see whether a valid connection is possible or not. When we use DriverManager.getConnection(URL), if the user name or the password is wrong, a session is created in Oracle end. But since no connection object is formed explicitly we are not able to close it. This is leading to the crashing of the database.

Please reply if anybody has got a solution for this..

Re: Servlet - JDBC

Posted By:   Jyothis_E  
Posted On:   Tuesday, March 5, 2002 03:03 AM

in try - catch block, is it giving any exception?
About | Sitemap | Contact