I understand what you suggested. So, I will store the information in
session.

Thanks!

Liwen

----- Original Message -----
From: "Preston L. Bannister" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 12, 2000 2:05 PM
Subject: Re: Refreshing jsp page...


> From: Liwen Chen
> > 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?
>
> Unless you have some reason to want to persist the data,
> I cannot see any reason to write it into a database.
>
> I'm guessing that you want to cache the data in a class
> instance stored in the session.  The question is when to
> update this information.  The answer depends on the time
> required to perform update from the remote(?) source.
>
>
___________________________________________________________________________
> 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

Reply via email to