RE: Image cache problem - solved

2003-06-19 Thread David Bolsover
Remke Thanks I was already setting: response.setHeader(Cache-Control,no-cache); response.setHeader(Pragma,no-cache); In the jsp containing the image to solve the problem of page caches. What caught me out was that this had to do this for the image also - as I had just done before your mail came

Re: Image cache problem - solved

2003-06-19 Thread Adam Hardy
Struts 1.1 will do this for you automatically if you set the following in your struts-config.xml controller !-- all pages get HTTP headers to defeat browser caching -- set-property property=nocache value=true/ /controller David Bolsover wrote: Remke Thanks I was already setting:

RE: Image cache problem - solved

2003-06-19 Thread David Bolsover
property in the controller handle this situation correctly? David -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: 19 June 2003 15:16 To: Struts Users Mailing List Subject: Re: Image cache problem - solved Struts 1.1 will do this for you automatically if you set

Re: Image cache problem - solved

2003-06-19 Thread Adam Hardy
correctly? David -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: 19 June 2003 15:16 To: Struts Users Mailing List Subject: Re: Image cache problem - solved Struts 1.1 will do this for you automatically if you set the following in your struts-config.xml controller !-- all