Use a servlet's init() method and have it load at startup.
search google:
tomcat web.xml load-on-startup
fillup
On 5/30/02 1:05 AM, "rob" <[EMAIL PROTECTED]> wrote:
> I have a number of threads that I would like to launch when tomcat
> loads. until recently I was just using the first request
I have a number of threads that I would like to launch when tomcat
loads. until recently I was just using the first request to launch them
but I would prefer that they just started automatically when tomcat starts.
Is there any way to start new threads when tomcat is launched?
Thanks
Rob
--