-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of bill tao
Sent: Thursday, 30 May 2002 7:11 AM
To: [EMAIL PROTECTED]
Subject: how to make webpage with no cache ,servlet and htmlHi,
I am currently struggling with one problem. I am trying to make the webpage i created using java servlet having no cache, that means. user can not go back to previous page by clicking "back" button on the menu bar of browser. I wrote some code, but it donesn't work in IE.
out.println("<META HTTP-EQUIV=\"PRAGMA\" CONTENT=\"NO-CACHE\">");
out.println("<META HTTP-EQUIV=\"Pragma-directive\" CONTENT=\"no-cache\">");
out.println("<META HTTP-EQUIV=\"cache-directive\" CONTENT=\"no-cache\">");
out.println("<META HTTP-EQUIV=\"Expires\" CONTENT=\"0\">");
out.println("<html>");
// out.println("<body bgcolor=aquamarine text=black>");
out.println("<head>");
out.println("<title> lab exam </title>");..........
Does anyone can help me out? it will be really appreciated.
Thanks in advance
bill
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
Bill,
Put
header cache statements between
<HEAD>
and
</HEAD>
It
should work the.
regards
Bruce
- how to make webpage with no cache ,servlet and html bill tao
- Re: how to make webpage with no cache ,servlet and htm... Mike Cronin
- Re: how to make webpage with no cache ,servlet and... Colin Capriati
- Bruce Prior
