[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - JSP refresh problem via proxy...

dgout73 do-not-reply at jboss.com
Tue Feb 6 11:00:31 EST 2007


Hello...

I am working with jsp pages and ejbs.

The problem that i have is when i am trying to call a specific jsp 
page from server in a network without passing thru a proxy the page
is changing as i have programmed(Changing labels from English to Greek 
and vice versa).

While i am trying to call the same page thru a proxy then the page
dosen't change and give me the same result.(Labels in English always)

In my jsp exists :
        response.setHeader("pragma","no-cache");
        response.setHeader("Cache-Control","no-cache");
        response.setHeader("Cache-Control","no-store");
        response.addDateHeader("Expires", 0);
        response.setDateHeader("max-age", 0);
        response.setIntHeader("Expires", -1); //prevents caching at the proxy server
        response.addHeader("cache-Control", "private"); //IE5.x only; 


It look like caching problem?

Should i change something into the standardjboss.xml file?
Any ideas?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011987#4011987

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011987



More information about the jboss-user mailing list