my dog learned polymorphism*
The moose likes Servlets and the fly likes Alert message for every 2mins in Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Alert message for every 2mins in Servlet" Watch "Alert message for every 2mins in Servlet" New topic
Author

Alert message for every 2mins in Servlet

chandraiah chintakayalu
Ranch Hand

Joined: Aug 30, 2007
Posts: 32
Hi all,
I want a servlet which display a alert message(like reminder) for every 2mins.
can anybody helps me is it possible in servlet

Thanks in advance.
Chandraiah
[ August 31, 2008: Message edited by: chandraiah chintakayalu ]

SCJP-5 86%,SCWCD-soon
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Servlets can't "push" data out to clients, since they are designed to support HTTP, which is a request driven technology. You are best using some client side technology like JavaScript or an Applet.
[ September 01, 2008: Message edited by: Paul Sturrock ]

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Alert message for every 2mins in Servlet
 
Similar Threads
How to give alert message in servlet and redirected it to jsp page.
regarding jsp and servlet
How to validate HTML form using servlet
problem while refreshing page
refreshing problem