Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tomcat 6: JSP'S caching/not compiling...help

Status
Not open for further replies.

darlok

Programmer
Jun 10, 2008
1
US
SO we are running tomcat 6, and the jsp files will not recompile unless we manually clear the cache. Any ideas on this? Thanks for any help.
 
Have you put some statements in jsp to prevent cache?

response.setHeader("Cache-Control","no-store"); //HTTP 1.1
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader ("Expires", 0); //prevents caching at the proxy server
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top