I am facing a problem with the caching of the jsp .I am using struts in my application and I have 5 tabs at the top of my page .When I click a tab I will change the image source by using a variable from the attribute .but the problem is often when I run my application on another client browser and I click the tab �.the variable is set properly but the image in my jsp is not changing ��..
The piece of code in my jsp to change the image of the selected tab looks like
logic:equal name="TAB" value="HOME%" % Sytem.out.println(�Tab not highlighted�); %
on clicking its enetering and shoing that tab is highlighted but the image is not getting changed .even I used META HTTP-EQUIV="cache-control" CONTENT="no-store" META HTTP-EQUIV="Pragma" CONTENT="no-cache" META HTTP-EQUIV="Expires" CONTENT="0"
to remove the cache but its not working ��..but the strange thing is that it always works fine on the system where the application is running but wont work properly on another client
add another head tag with your meta tags (again) at the bottom of the jsp, just before the closing html tag Example: ... </BODY> <HEAD> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="-1"> </HEAD> </HTML>