Hey hi ,
Who said you need to use JS for that small thingy ?? Definately , There are 2 approaches for this... One thing is this small code
<%
response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader ("Expires", 0); //prevents caching at the proxy server
%>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Pragma" content="no-cache">
Also there as its a Struts / JSP App , You can use a design
pattern called Synchronization Token for it.. You can get details on it here..
Java World