Hello Jason.
I used the following response.setHeader methods inside my jsp page.
still the page is not getting refreshed.
but for me
At 02:38 AM 27/08/2001 -0500, you wrote:
>Jason,
>
>I got these lines of code from one of my colleague in prev department.  I
>would say that you can set all the header that normally can exists in the
>html code, since the idea is setting the header information when you are
>about to send the resulting html page to the browser.
>
>What else are you trying to set in the response?  I may not understand
>exactly what you are looking for.
>
>
>
>At 01:57 AM 4/27/01, you wrote:
>>hi
>>
>>     I want to know where did you found this code? because I want to know
>>more about this. Is it have more setting can set throw response?
>>
>>Jason
>>----- Original Message -----
>>From: Irawan <[EMAIL PROTECTED]>
>>To: <[EMAIL PROTECTED]>
>>Sent: Monday, August 27, 2001 9:51 AM
>>Subject: Re: response.sendRedirect() problem
>>
>>
>> > 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/j
>>guru/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
>> >
>> >
>>
>>===========================================================================
>>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
>
>===========================================================================
>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

===========================================================================
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

Reply via email to