What you mean ?. You need a file watcher program or you have one. To start it when tomcat is started, 1. If it is servlet in web.xml use <load-on-startup> in servlet declaration and run it from init() method. 2. Write a ContextListener and start it from there.
rgds Antony Paul On Wed, 9 Mar 2005 15:31:12 -0800 (PST), deepak suldhal <[EMAIL PROTECTED]> wrote: > Hi, > I need to keep a file watcher program running. > Is it possible for me to start this automatically when > > tomcat is hosted. > > Thanks > D > > __________________________________ > Celebrate Yahoo!'s 10th Birthday! > Yahoo! Netrospective: 100 Moments of the Web > http://birthday.yahoo.com/netrospective/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- rgds Antony Paul http://www.geocities.com/antonypaul24/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]