Sure can.
From your code add the following 3 lines:
response.setHeader("Pragma", "No-cache");
response.setHeader("Cache-Control", "no-cache");
response.setDateHeader("Expires", 0);
I believe it is because of some differencies on how IE and Netscape handle
it, that's why you need to add those to make sure it works.
At 08:28 PM 8/26/01, you wrote:
>Can you tell me how can i do that sir ???
>
>==
>thx,
>H`L
>----- Original Message -----
>From: <mailto:[EMAIL PROTECTED]>Irawan
>To: <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
>Sent: Monday, August 27, 2001 6:30 AM
>Subject: Re: response.sendRedirect() problem
>
>You may want to try to set so that the browser will not cache the data
>in
>the list page jsp.
>
>At 11:28 AM 8/26/01, you wrote:
> >i have a silly problem here, if i delete a data in database from my jsp
> >page .. let say in the page i got 10 datas and i deleted one, and after
>i
> >deleted it i used sendRedirect() method to go back to the list page. I
> >need to refresh the page or it will keep showing 10 datas. How can i
>make
> >it like refresh it automaticly maybe ..
> >
> >==
> >thx,
> >A Java Addicted
>
>========================================================================
>===
>To unsubscribe: mailto <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
>with body: "signoff
>JSP-INTEREST".
>For digest: mailto <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
>with body: "set JSP-INTEREST
>DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>
><http://java.sun.com/products/jsp/faq.html>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=JSP
>
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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