ASF Bugzilla – Attachment 16492 Details for
Bug 33453
Jasper should recompile JSP files whose datestamps change in either direction (not just newer)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Changes to JspCompilationContext.java
diff1.txt (text/plain), 1.54 KB, created by
Jonathan Leech
on 2005-09-22 21:45:35 UTC
(
hide
)
Description:
Changes to JspCompilationContext.java
Filename:
MIME Type:
Creator:
Jonathan Leech
Created:
2005-09-22 21:45:35 UTC
Size:
1.54 KB
patch
obsolete
>--- 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);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 33453
:
16489
|
16492
|
16493
|
16599
|
17955
|
17956
|
17957
|
17958
|
27040