velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barbara Baughman <>
Subject Re: Connection Pooling
Date Mon, 01 Oct 2001 17:02:09 GMT
To the bigger question of accessing the init method from Velocity Servlet,
you can write your own loadConfiguration() method as indicated in the
Velocity documentation.  The Velocity Servlet init() method always calls
the loadConfiguration() method.  Whether it's a good idea to create
connections here is up to you. 

Barbara Baughman

On Fri, 28 Sep 2001, Rasoul Hajikhani wrote:

> Hi,
> I was reading "Core Servlets..." and at some point the author recommends
> that it is best to create connections inside the init method of the
> servlets. In extending VelocityServlet I do not have access to the init
> method of my servlet(?). I am wondering what is the work around to that? 
> Appreciate all comments and suggestions
> -r

View raw message