Very simple use the <META> tag in ur jsp file like this
<meta http-equiv="Refresh" content="50;
url=../servlet/NewsFlashServlet?WhatToDo=GetNews">

bye,
Jiger


>From: Liwen Chen <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>        Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Refreshing jsp page...
>Date: Mon, 12 Jun 2000 10:56:57 +0800
>
>I wrote a servlet to retrieve stock information for some stocks interested
>by my boss. And I use a JSP
>page to display the table. The problem is: my boss askes the page to be
>refreshed every five or ten mins.
>How can I achieve it? It seems the JSP file is compiles once and later, I
>always get the same content when i try to refresh it. When I visiting web
>pages, I find that there are lot of pages that refreshing all the
>time and the performance looks good. I really don't know how to achieve
>that. Anyone can help?
>
>Thanks a lot!
>
>Liwen
>
>___________________________________________________________________________
>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

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

___________________________________________________________________________
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