----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi guys!
We have fixed the problem!
The problem was due the caching of JSP pages in MS-Proxy 2.0.
*** The workarround to fix that is to set the HTTP response header with
something like this:
// This code is inside my MasterBean class
response.setHeader("Pragma","no-cache");
response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires",0);
*** Setting the following values inside the generated HTML does NOT
work, because Proxy does not "parse" them (it's "parsed" at browser
level only):
<!-- This code works only at browser level (but NOT at proxy level) -->
<head>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv="Expires" content="0">
</head>
Not all JSP pages are cached, but only that sent by a GET and not under
https.
Here is a link to a FAQ about the caching criteria of MS-Proxy 2.0:
http://support.microsoft.com/support/kb/articles/Q259/2/68.ASP?LN=EN-US&SD=gn&FR=0&qry=cache&rnk=18&src=DHCS_MSPSS_gn_SRCH&SPR=PRS
thanks to everyone who contributed to fix this problem!
--
Claudio Higashi
Software Engineer
Phone: +55 19 3737-4540
Fax : +55 19 3737-4501
CI&T - software enabling the e-world
http://www.cit.com.br
Janga Aliminati wrote:
>
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> You have to set header for you JSP's with
>
> pragma no-cache and cache-control private.
>
> This two headers will take care of your problem. This will keep local
> cache on the client system instead of proxy level cache.
>
> Actually by default Apache should set prama no-cache (If you see in
> httpds.conf file).
>
> Janga
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search Archives:
> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]