1 Reply Latest reply on Sep 21, 2005 7:37 PM by Jonathan Leech

    tomcat / jsp compile bug

    Jonathan Leech Newbie

      Modifications to .jsp files may not take effect after a redeploy. (JBoss 4.0.2)

      The decision whether to recompile a jsp appears to be based on comparing the .jsp file time and the .class file time. The .class file time is the time it was compiled, aka the time the page was first accessed. If events happen in the following order, the modifications to the .jsp will not take effect:
      1) Initial Deployment
      2) Modification to .jsp file
      3) First visit to .jsp page
      4) Second Deployment

      Is this a jboss bug or a tomcat/jasper bug?