https://bz.apache.org/bugzilla/show_bug.cgi?id=61125

            Bug ID: 61125
           Summary: WarURLConnection always returns 0 from
                    getLastModified() which prevents JSP modifications
                    from triggering recompilation
           Product: Tomcat 8
           Version: 8.5.15
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ----

When JspCompilationContext is attempting to get the last modified time for a
JSP it gets a URL for it and opens a connection. When this is a war: URL it
gets a WarURLConnection and calls getLastModified(). This method always returns
zero. As a result, a JSP is compiled the first time it is accessed but any
subsequent changes are then ignored, even across a restart of Tomcat (assuming
that the work directory is left intact).

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to