Running tomcat 5.5.14 on Linux with: java -version java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)
Files are coming back with unchanged "last modified" dates even after editing or a unix "touch" These files are being loaded via some Ajax (see below) - IE6 and Firefox1.5 If the browser cache is cleared, or the referenced page is hit directly, subsequent hits to the ajaxpage do retrieve the new page off the server. == call to ajax <A HREF="pages/main.html" onclick="ajaxpage(this.href, 'content');return false;">Home</A> == Javascript / ajax function ajaxpage(url, containerid) { var page_request = false if(window.XMLHttpRequest) { xmlhttp = new XMLHttpRequest(); // Gecko (Firefox, Moz), KHTML (Konqueror, Safari), Opera, Internet Explorer 7 } else if(window.ActiveXObject) { try{ xmlhttp = new ActiveXObject("MSXML2.XMLHTTP"); // Internet Explorer 6 } catch(e) { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); // Internet Explorer 4,5 } } else { return false; } xmlhttp.onreadystatechange=function() { loadpage(page_request, containerid) } xmlhttp.open('GET', url, true) xmlhttp.send(null) } function loadpage(page_request, containerid) { if (xmlhttp.readyState == 4 && (xmlhttp.status==200 || window.location.href.indexOf("http")==-1)) { <!-- alert("File was last modified on - "+ xmlhttp.getResponseHeader("Last-Modified")) --> document.getElementById(containerid).innerHTML=xmlhttp.responseText } } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]