1 Reply Latest reply on Feb 7, 2006 12:17 PM by drumsetdrummer

    Dynamic Reload of JSP Edits

    drumsetdrummer

      If I edit a JSP file inside an exploded EAR or WAR and save it, then reload the page in a browser, I don't see the changes.

      I'm using the default server on JBoss 4.0.2, with j2sjdk1.5.0_04 on WinXP. Any help would be appreciated.

        • 1. Re: Dynamic Reload of JSP Edits
          drumsetdrummer

          Okay, I figured this one out by digging into the $JBOSS_HOME/server/default/deploy/jbossweb-tomcat55.sar/conf/web.xml file. I'm very surprised there isn't more (easily accessible) documentation on this. I Googled & searched on the JBoss wiki, looked through the 4.0.2 AS docs, etc...

          Anyway, I simply edited/added the servlet params below to the jsp servlet-name tag:


          <init-param>
          <param-name>development</param-name>
          <param-value>true</param-value>
          </init-param>
          <init-param>
          <param-name>modificationTestInterval</param-name>
          <param-value>0</param-value>
          </init-param>