tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edson Alves Pereira <eapere...@panamericano.com.br>
Subject RE: How do I reload a Servlet from a JSP page?
Date Tue, 23 Dec 2003 18:50:37 GMT
	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:Nathan_Christiansen@tni.com]
> Responder: 	Tomcat Users List
> Enviada: 	terça-feira, 23 de dezembro de 2003 14:46
> Para: 	tomcat-user@jakarta.apache.org
> 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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message