For all actions, you could configure the ActionServlet in web.xml, like 
this:
...
<init-param>
      <param-name>nocache</param-name>
      <param-value>true</param-value>
    </init-param>
...


--
C. Bouessay

Slimane Zouggari wrote:

> Hi,
>
> When I try to follow a link to one of My action class. Sometimes, it 
> works correctly and sometimes, my browser just take the old copy of 
> the generated page it has in cache.
>
> My question is: How can I avoid that ? What do I have to do to be sure 
> my browser doesn't set anything in cache ?
>
> I tried to put the following in my jsp pages, without any success:
>
> <%
>   response.addHeader("pragma","no-cache"); // http v1.0
>   response.addHeader("cache-control","no-cache"); // http v1.1
> %>
>
> Could anybody point me to the right way to achieve that ?
>
> Thanks in advance.
>
> Friendly Regards,
> Slimane
>
>
> -- 
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
>
>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to