: I am developing a Java web application, and one of the requirements is to run : a particular servlet periodically, or even at specified times. Resin provides : this ability via its "run-at" configuration element for servlets in web.xml
Tomcat doesn't have this. Are you trying to run that particular servlet, or just the business logic called by that servlet? Look into a scheduler (such as Quartz) to call that business logic for you at given times. You could also use Java's builtin TimerTask class, but (IIRC) that takes a Runnable or a Thread, so it's up to you to make sure those threads are properly terminated at container shutdown. Tomcat won't do that for you. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
