is it good for me to keep the information in a database and use a servlet to
retrieve
real-time information and store them in it. then for the jsp file, it just
retrieves data
from database?
thanks..
liwen
----- Original Message -----
From: "Preston L. Bannister" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 12, 2000 12:44 PM
Subject: Re: Refreshing jsp page...
> From: Liwen Chen
> > the thing is, after loading, the jsp file is converted
> > to an html page. when refreshing using
> > this way, i got the same content.
>
> Don't put the time-varying content in the JSP text.
> Fetch the time-varying content at the time you need it.
>
> If the information is displayed far more often than it changes,
> or the fetch is very slow, then display the information out of
> an asynchronously updated cache.
>
> If you do this then tell the browser:
>
> <meta http-equiv=refresh content=6000>
>
> to refresh every 10 minutes.
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html