Invoking servlet from server (tomcat 5.5) at regular interval

Hi all

My problem is I want to send mail on 1st day of every month through form my application. But for that I don抰 want to login my application. It should fire automatically from server. I am using Tomcat 5.5 for my application. This process also involved talking to database.

Is there any to achieve this?

Please help me.

Thanks in advance.

[374 byte] By [shashiwagha] at [2007-11-26 20:03:24]
# 1
Hello, There is the possibility to register a Servlet Context listener which will be created when your application will be deplyed.Then you create a Timer on it .... Regards,Sebastien Degardin
sdegardina at 2007-7-9 23:03:08 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Thanks for replay. Will u please give details about it? If u have referance link please mention it.Once again thanks
shashiwagha at 2007-7-9 23:03:08 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

these are the results of the "servlet context listener" key on google.

http://edocs.bea.com/wls/docs70/webapp/app_events.html

http://publib.boulder.ibm.com/infocenter/wasinfo/v5r1//index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/rweb_listeners.html

Regards,

Sebastien Degardin

sdegardina at 2007-7-9 23:03:08 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
Please send some examples for my problemor some useful linksE - Mailshashi.d.wagh@gmail.comMessage was edited by: shashiwagh
shashiwagha at 2007-7-9 23:03:08 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...