response.setHeader("refresh"," int secs");

        For Example

        response.setHeader("Refresh","5");

        This will reload the page after every 5 secs.

 Regards,

 Mohan.


> -----Original Message-----
> From: Sharan, Dharmendra [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, November 14, 2000 1:24 AM
> To:   [EMAIL PROTECTED]
> Subject:      Trigger browser update
>
> Hi EJB gurus!,
>
>        I wanted to get pointers/suggestions on an elegant solution to
> trigger a browser page to reload, whenever,
>  some content at server is changed/updated/added. I'm using EJB, Servlets
> and JSP.
>
>        I could have the browser poll/reload every x seconds but that would
> mean a lot of unnecessary network traffic.
>
>        Does any approach to this kind of problems, (eg. live update of a
> game) exist with EJB/Servlet/JSP ?
>
>       I would appreciate any help/direction on this ....
>
>        regds,
>
>       Dharmendra
> __________________________________________________________________________
> __
> ____
> Dharmendra Sharan  | Equities                         | 917-343-8395
> (Off.)
> Consultant         | Institutional Sales - Technology | 732-583-1301
> (Home)
> TechSpan Inc.        | Goldman Sachs                    |
> ___________________
>              Homepage: http://profiles.yahoo.com/dsharan
>
> ==========================================================================
> =
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to