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.
# 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
# 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