wood burning stoves 2.0*
The moose likes Tomcat and the fly likes load on startup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "load on startup" Watch "load on startup" New topic
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: load on startup
 
Similar Threads
Recommendations for Webhosting for Struts2 (GoDaddy issue)
WA #1.....word association
What does load-on-startup?
Exception in Struts namespace
Replacement for the T3StartupDef Class