| Author |
load on startup
|
Alister Pate
Ranch Hand
Joined: Sep 13, 2002
Posts: 34
|
|
Hi guys. My current "issue" is how to configure tomcat 4.1 to run an application (ie a servlet) on startup. Is there an easy way to do this? I've scanned the documentation (briefly) but without a lot of success. Alister
|
 |
Mike Curwen
Ranch Hand
Joined: Feb 20, 2001
Posts: 3695
|
|
It's part of the servlet declaration in web.xml A non-null value for load-on-startup will ensure your servlet loads, and if order is important, it will load them in the numerical order of the load-on-startup elements.
|
 |
Alister Pate
Ranch Hand
Joined: Sep 13, 2002
Posts: 34
|
|
|
Thanks for that.
|
 |
 |
|
|
subject: load on startup
|
|
|