Cache

Hai,

any one can help me

My problem is,

I updated my .jsp with a new Imagefile. Tomcat will still load the old page. I am very sure that i have updated the file with the new one.Currently to solve this problem, the only way i can do is to referesh that jsp page . Please advice me on what i should do and i have been trying a lot of ways but in vain.

How can i slove this problem.

[412 byte] By [allavudeen_screena] at [2007-11-27 11:09:21]
# 1

<meta http-equiv="Pragma" content="no-cache">

<!-- Pragma content set to no-cache tells the browser not to cache the page

This may or may not work in IE -->

<meta http-equiv="expires" content="0">

<!-- Setting the page to expire at 0 means the page is immediately expired

Any vales less then one will set the page to expire some time in past and

not be cached. This may not work with Navigator -->

Good Luck

Ranjith

ranjith98a at 2007-7-29 13:34:53 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Doublepost. Please continue here http://forum.java.sun.com/thread.jspa?threadID=5196086

BalusCa at 2007-7-29 13:34:53 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

i put your code but there is no change .But we set the Internet Option to "Every visit to the page" then it works correctly.

What can i do..........

allavudeen_screena at 2007-7-29 13:34:53 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4

You can View Source on IE and check if you see the added code, otherwise you need to refresh the page so that your changes are seen by the browser (You can SHIFT+CLICK on REFRESH ICON to force the browser to get the new version)

GL

Ranjith

ranjith98a at 2007-7-29 13:34:53 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...