You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Wall <d....@computer.org> on 2004/02/06 18:16:21 UTC

JSP reloading on Tomcat 5.0.18 question

Often when I upload a new JSP, tomcat 5.0.18 under RH Linux 9 with JDK1.4.2
doesn't seem to always see it.  This is particularly true when doing
repeated uploads in short order (hack & test!).

I've configured tomcat's conf/web.xml with the following:

    <servlet>
        <servlet-name>jsp</servlet-name>
        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
        <init-param>
            <param-name>fork</param-name>
            <param-value>false</param-value>
        </init-param>
        <init-param>
            <param-name>xpoweredBy</param-name>
            <param-value>false</param-value>
        </init-param>
        <init-param>
            <param-name>development</param-name>
            <param-value>true</param-value>
        </init-param>
        <init-param>
            <param-name>reloading</param-name>
            <param-value>true</param-value>
        </init-param>
        <init-param>
            <param-name>checkInterval</param-name>
            <param-value>300</param-value>
        </init-param>
        <load-on-startup>3</load-on-startup>
    </servlet>


My impression is that the 'development=true' setting should cause the JSP to
be checked every time for modifications, and only if development=false do
the reloading/checkInterval values take meaning.  Is that not true?  Should
I just turn 'development=false' and then set the 'checkInterval' to '0'?

Thanks,
David


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org