Dear all,
I have done an application using Struts MVC pattern. In that i am
creating the database connection using the following statements
javax.sql.DataSource dataSource =
(javax.sql.DataSource)servlet.getServletContext().getAttribute(Action.DATA_SOURCE_KEY);
Connection connection = dataSource.getConnection();
Statement st = connection.createStatement();
I specified all the data base related details in "struts-config.xml" file. I am using
the JSQLConnect Type 4 Driver for the database connection. Previously it was working
perfectly. But in December JSQLConnect has released a new version of JSQLConnect Type4
Driver. While using the new version of the driver, My application is not working
perfectly. It is getting database connection only once . The connection pooling is not
happening.
Can any body help me to solve this problem.
Waiting for your valuable suggessions and solutions
Thanks,
Sreejith