I do it from a JSP and not from a servlet and the page look like:
<%response.setHeader("Cache-Control",
"no-cache");response.setHeader("Pragma", "no-cache");%>
<HTML>
....
Joe Laffey wrote:
>
> On Tue, 13 Mar 2001, Zsolt Koppany wrote:
>
> > No, there is no proxy, everything runs in a simple LAN.
>
> You can also try adding the following at the top of your HTML document:
> (in the <HEAD>)
>
> <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
>
> Though I don't know why it wouldn't work from the servlet. Have you tried
> telnetting to your box and issuing an HTTP request manually? Perhaps the
> headers are not actually getting set. This can happen if you send any
> output to the output stream before setting the headers.
>
> Joe Laffey
> LAFFEY Computer Imaging
> St. Louis, MO
> ----------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
--
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Delitzsch-Strasse 16
D-70565 Stuttgart
Tel: +49-711-7871080 Fax: +49-711-7871017
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]