WLS JSP Compiler Does Not Recompile JSPs on Update If The Updated JSP Has Old Timestamp (Doc ID 2050940.1)

Last updated on AUGUST 10, 2017

Applies to:

Oracle WebLogic Server - Version 10.3 to 10.3.5
Information in this document applies to any platform.

Symptoms

JSP's are not recompiled by the Weblogic JSP compiler if for example the JSP is updated but it still has an old timestamp.
 
The issue can be reproduced by following below steps.

  1. Create a project with one jsp.
  2. Modify the jsp content to be Version 1.
  3. Save the jsp to somewhere else: last modified: 01/01/2015 11:00 AM.
  4. Modify the jsp content again to be Version 2: 01/01/2015 11:10 AM.
  5. Precompile the web project then deploy it exploded.
  6. Hit the page from browser,notice Version 2 in the browser output.
  7. Replace the jsp with the version 1 saved earlier.
  8. Hit the page from browser again, it still shows Version 2 in browser output.

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms