Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 80090 invoked from network); 23 Dec 2003 17:59:14 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 23 Dec 2003 17:59:14 -0000 Received: (qmail 60759 invoked by uid 500); 23 Dec 2003 17:58:16 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 60626 invoked by uid 500); 23 Dec 2003 17:58:15 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 60431 invoked from network); 23 Dec 2003 17:58:14 -0000 Received: from unknown (HELO mail.morinda.com) (66.236.69.41) by daedalus.apache.org with SMTP; 23 Dec 2003 17:58:14 -0000 Received: from USMAIL04.morinda.com ([172.16.6.206]) by mail.morinda.com with Microsoft SMTPSVC(5.0.2195.5329); Tue, 23 Dec 2003 10:58:16 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: How do I reload a Servlet from a JSP page? Date: Tue, 23 Dec 2003 10:58:16 -0700 Message-ID: <783A3EE2AA17B349B869477606E922A6AE48B3@USMAIL04.morinda.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How do I reload a Servlet from a JSP page? Thread-Index: AcPJfc0PCIAigmMQSV2le5EhDkZm0gAACdUw From: "Nathan Christiansen" To: "Tomcat Users List" X-OriginalArrivalTime: 23 Dec 2003 17:58:16.0432 (UTC) FILETIME=[574E5700:01C3C97E] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thank you for your response, but I already have my context set to = automatically reload servlets on changes to the webapp as this is a = testing environment. I am wondering how I can force a reload from a JSP page like the manager = app does. -- Nathan Christiansen Tahitian Noni International http://www.tahitiannoni.com -----Original Message----- From: Edson Alves Pereira [mailto:eapereira@panamericano.com.br] Sent: Tuesday, December 23, 2003 11:51 AM To: 'Tomcat Users List' Subject: RE: How do I reload a Servlet from a JSP page? 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=E7a-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? >=20 > I am using a JSP page to add and change properties files for my = servlet in > my development and testing environments. >=20 > I have Tomcat (4.1.24) set up to reload the servlet on changes to the > context (i.e. reloadable=3D"true"). When I change an existing = properties > file, Tomcat responds by reloading the servlet and therefore loading = the > changes. >=20 > 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. >=20 > So my question is: >=20 > How do I reload a servlet from a JSP page? >=20 >=20 >=20 > -- Nathan Christiansen > Tahitian Noni International > http://www.tahitiannoni.com >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org