I have set this header in the backing bean (in the method, where the chart is 
painted), and this didn't work (I have set it there, because there I get the H 
HttpServletResponse via the FacesContext).
How can I get the  HttpServletResponse Object in my JSF Page directly to set 
this header like this
<%response...%>

Regards
Andy

-----Ursprüngliche Nachricht-----
Von: Mario Ivankovits [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 10. November 2005 18:56
An: MyFaces Discussion
Betreff: Re: Prevent Firefox from caching..


[EMAIL PROTECTED] wrote:
>
> Does anyone know, how to tell Firefox not to cache pages...
> I have implemented a Chart via Jenia and the problem is that, when the 
> page is display, the chart from the previous request is shown, until I 
> press F5
>
We use
response.setHeader("Cache-Control", "no-store");
response.setHeader("Pragma", "no-cache");

And this works.

---
Mario


______________________________________________________________________

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
your system manager.

This footnote also confirms that this email message has been swept
for the presence of computer viruses.
______________________________________________________________________

Reply via email to