I can think of multiple ways for this,
If you wanted page B to automatically update itself, this would be one of
the methods , to set the Page Expire parameter.
HttpServletResponse.setHeader("Pragma", "no-cache");
response.setHeaderDate("Expires",System.currentTimeMillis() + 1800000);
to set it to expire 30 min from now.
Other way would be to from page A, write out new data to Frame B and use the
"Target" object in the Http object. Or from page A , create write results to
a new HTML file and from page A refresh Page B using the "target" object in
the http parameter.
Hope this works out.
Thanks
Sudhir
[EMAIL PROTECTED]
http://www.javacommerce.com
----- Original Message -----
From: Kent Symanzik <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 01, 2000 9:18 AM
Subject: refreshing a frame
> I have a servlet that adds a row to the database as a result of a form
post
> in frame A. The rows in the db are displayed in a list in frame B. How
can
> I tell frame B to refresh itself so it updates the list from the db?
>
> Kent
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets