Servlets are reloaded when your servlet engine is restarted or you
configure you webapp to always reaload servlets ( this is very slow ).

> ----------
> De:   Nathan Christiansen[SMTP:[EMAIL PROTECTED]
> Responder:    Tomcat Users List
> Enviada:      terça-feira, 23 de dezembro de 2003 14:46
> Para:         [EMAIL PROTECTED]
> Assunto:      How do I reload a Servlet from a JSP page?
> 
> I am using a JSP page to add and change properties files for my servlet in
> my development and testing environments.
> 
> I have Tomcat (4.1.24) set up to reload the servlet on changes to the
> context (i.e. reloadable="true"). When I change an existing properties
> file, Tomcat responds by reloading the servlet and therefore loading the
> changes.
> 
> However, when I add a new properties file (in the WEB-INF/classes
> directory), Tomcat never reloads the servlet. Even when I change that new
> properties file Tomcat doesn't reload it until the servlet gets reloaded
> by some other means.
> 
> So my question is:
> 
> How do I reload a servlet from a JSP page?
> 
> 
> 
> -- Nathan Christiansen
>    Tahitian Noni International
>    http://www.tahitiannoni.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to