yes, I am using DBCP.
Actually I want to know that at server start up how can I make database connection. Like we can declare a
servlet at load-on-startup and do whatever we want to.
But here I have to use an Action class to use getDataSource(req,key) function. Is there any way to declare a Action class so that it can load some DB connection
at server startup.