--- JspCompilationContext.java 2005-09-21 17:26:24.257250000 -0600 +++ JspCompilationContext.java.orig 2005-03-26 13:22:46.000000000 -0700 @@ -21,7 +21,6 @@ import java.net.MalformedURLException; import java.net.URL; import java.net.URLClassLoader; -import java.net.URLConnection; import java.util.Hashtable; import java.util.Set; @@ -554,21 +553,9 @@ if (isPackagedTagFile || jspCompiler.isOutDated()) { try { jspLoader = null; - jspCompiler.compile(); - String jsp = getJspFile(); - - // jleech 9/21/2005 - // set the lastModified of the generated .java and .class files to the .jsp lastModified - long jspRealLastModified = 0; - URL jspUrl = getResource(jsp); - URLConnection uc = jspUrl.openConnection(); - jspRealLastModified = uc.getLastModified(); - uc.getInputStream().close(); - new File(getClassFileName()).setLastModified(jspRealLastModified); - new File(getServletJavaFileName()).setLastModified(jspRealLastModified); - + jspCompiler.compile(); jsw.setReload(true); - jsw.setCompilationException(null); + jsw.setCompilationException(null); } catch (JasperException ex) { // Cache compilation exception jsw.setCompilationException(ex);