Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-29-2007, 02:04 PM
Member
 
Join Date: Nov 2007
Posts: 18
Rep Power: 0
sandeepkk2005 is on a distinguished road
Default Start a servlet when Tomcat Starts
I have a servlet which constantly monitors file system/database for changes.
I want that servlet to be started automatically when the Tomcat starts.
I am using Apache Tomcat 6.

Thanks
Sandeep
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 12-03-2007, 03:04 PM
Senior Member
 
Join Date: Jun 2007
Location: Bali, ID
Posts: 102
Rep Power: 0
wsaryada is on a distinguished road
Default
Can this be done by implementing a ServletContextListener instead of using a Servlet?
__________________
Website: Learn Java Programming by Examples - Blog: Java Programming Blog
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat In Eclipse - Sysdeo Tomcat Plug-in JavaForums Eclipse 1 02-13-2008 11:33 AM
Datasource starts after web application anosh_nathaniel XML 0 12-12-2007 11:49 AM
Datasource starts after web application anosh_nathaniel XML 0 12-12-2007 11:47 AM
javax.servlet.ServletException: Wrapper cannot find servlet class util.t2 osval Advanced Java 1 08-07-2007 04:47 PM
Starts with JBuilder mathias Other IDEs 1 08-07-2007 07:50 AM


All times are GMT +2. The time now is 09:32 AM.



VBulletin, Copyright 2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright 2006 - 2007, www.java-forums.org