jsp page dose not work wiht proxyserver

Hi ,

I have developed one site using struts and it is not working well when proxyserver is used, but it works fine when we does not use the proxyserver. The problem i have is that i can only select once a category, when i try to switch to another category this does not work anymore, the same category is reloaded each time i select a new category.

I'm using the Microsoft ISA 2000 proxy server.

Dose anyone has solution for this problem.

Thanks

[477 byte] By [xmaricaa] at [2007-10-3 0:10:13]
# 1
It looks likes that the proxy server caches the responce of previous request and give it for the next request.This should work correctly if you set the Cache-Control header to no-cache in your servlet/jsp s.
LRMKa at 2007-7-14 16:59:36 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Hi,

Thanks for you suggestion. I have solve this problem using the same suggestion given by you. I have added the following on the response header.

response.addHeader("Pragma", "no-cache");

response.addHeader("Cache-Control", "no-cache");

response.addHeader("Cache-Control","no-store" );

response.addDateHeader("Expires", 0);

And it will solve my problem.

Thanks Again.

xmaricaa at 2007-7-14 16:59:36 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...