if you are using ajax, then use setTimeout or setInterval , to get updated
data.

Regards
Dharm

On Thu, Sep 17, 2009 at 2:57 PM, tailangong <tailang...@hotmail.com> wrote:

>
> Hi,
>
> I've tried the PeriodicalUpdater before and it only call the servlet
> twice.
> I have done some small research and found out that this problem only
> occurs in IE.
> However, this can be solved by using method:"post" instead of
> method:"get".
> Thanks for your help, both TJ and Peter.
>
> On Sep 17, 4:28 pm, "T.J. Crowder" <t...@crowdersoftware.com> wrote:
> > Hi,
> >
> > This is exactly what the PeriodicalUpdater[1] is for.
> >
> > If you're just starting out with Prototype, can I recommend you read
> > the API[2] from beginning to end.  It will take about an hour, and
> > repay you multifold.
> >
> > [1]http://api.prototypejs.org/ajax/ajax/periodicalupdater.html
> > [2]http://api.prototypejs.org
> >
> > HTH,
> > --
> > T.J. Crowder
> > tj / crowder software / comwww.crowdersoftware.com
>  >
> > On Sep 16, 6:36 pm, tailangong <tailang...@hotmail.com> wrote:
> >
> >
> >
> > > Hi, I am looking on how to autorefresh part of a page. Let me explain
> > > my situation.
> > > I have a page that display data from a database. Suppose that a user
> > > is viewing the page, and at the same time, the database is updated.
> > > How could I display the latest data (with some highlight for few
> > > seconds) to the user without needing them to refresh that particular
> > > page? I mean, they can see the data changing on that page without
> > > doing anything. Any idea?
> >
> > > Currently using jsp and servlet. Thanks for your help.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to