File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes jsp page requires refreshing when deployed in weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "jsp page requires refreshing when deployed in weblogic" Watch "jsp page requires refreshing when deployed in weblogic" New topic
Author

jsp page requires refreshing when deployed in weblogic

sathish venugopal
Greenhorn

Joined: Aug 05, 2006
Posts: 3
jsp page has to be refreshed manually in the browser to view the updated data when the application is deployed in weblogic as war file however this problem does not arise when deployed in tomcat5. to solve this problem we have added the following tags in the header but still we face the same issue (sometimes).

response.setHeader("cache-control","no-cache");
response.setHeader("pragma","no-cache");
response.setDateHeader ("Expires", 0);
response.setHeader("Cache-Control", "private");
response.setHeader("Cache-Control", "no-store");
response.setHeader("Cache-Control", "max-stale=0");

please suggest if any thing else should be configured in the
weblogic server
 
Consider Paul's rocket mass heater.
 
subject: jsp page requires refreshing when deployed in weblogic
 
Similar Threads
JSP not getting refreshed in Mozilla Firefox
jsp
Cache Control
Page Caching...
How to control Caching in JBoss