Hi!

If I understood the comment in web.xml correctly, by default, the
JspServlet is initialized with the following parameters

development=true
modificationTestInterval=4

Aren't this sufficient to reload the JSP after 4 seconds the JSP is updated?



On 8/27/07, hezjing <[EMAIL PROTECTED]> wrote:
> Hi!
>
> Setting reloading=true does not solve the problem :-(
>
> Here are the steps I performed,
>
> 1) Reinstalled Tomcat 5.5.23 on Windows XP
> 2) Added the following parameters to JspServlet in Tomcat 5.5\conf\web.xml
> development=false
> reloading=true
> checkInterval=3
> 3) Started Tomcat service
> 4) Deployed myapp for first time
> 5) Accessed myapp from IE
> 6) Modified the title of Tomcat 5.5\webapps\myapp\index.jsp
> 7) Accessed myapp from IE after 3 seconds and it is still showing the old 
> title!
>
> The Tomcat 5.5\work\Catalina\localhost\myapp\org\apache\jsp\index_jsp.java
> is still showing the old title.
>
> BTW, the "reloading" parameter is not listed as one of the supporting
> parameters in the comment of web.xml (?).
>
> Do you have any other idea of what could be the problem?
>
>
> On 8/24/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hezjing,
> >
> > hezjing wrote:
> > > In Tomcat 5.5\conf\web.xml, I have defined modificationTestInterval=0
> > > and that the context's reloadable=true.
> >
> > Maybe try 'reloading="true"' instead?
> >
> > http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html
> >
> > - -chris
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.7 (MingW32)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> >
> > iD8DBQFGztUh9CaO5/Lv0PARAlA2AKCc1wDd4K8YJlDU8RKImvPhZYX5KwCeI+Hb
> > 6WyJhi9YQsTVkcR+MqFnp2A=
> > =017s
> > -----END PGP SIGNATURE-----
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
>
> Hez
>


-- 

Hez

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to