Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Stop the server if it is running;
  2. Open <Geronimo_Home>/var/catalina/conf/web.xml in edit mode;
  3. Locate <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class> in the web.xml file;
  4. Change the value of development from false to true. The changed parameter will be like
    Code Block
    titleweb.xml
        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
            <init-param>
                <param-name>development</param-name>
                <param-value>true</param-value>
            </init-param>
    
  5. You can add the following code snippet into the web.xml under the above mentioned servlet class.
    Code Block
    titleweb.xml
        
            <init-param>
                <param-name>modificationTestInterval</param-name>
                <param-value>10</param-value>
            </init-param>
    
    where modificationTestInterval is the time in seconds. This , which configures the server for JSP reloading interval. In the above configuration, the changes will be reloaded within 10 seconds.

Use OpenEJB startup options in Geronimo

...