Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 34256 invoked from network); 11 May 2000 14:37:39 -0000 Received: from siren.mantamedia.com (63.79.139.104) by locus.apache.org with SMTP; 11 May 2000 14:37:39 -0000 Received: by SIREN with Internet Mail Service (5.5.1960.3) id ; Thu, 11 May 2000 09:37:35 -0500 Message-ID: <67C387B635F7D2118097005004251E6011C014@SIREN> From: Mark Kolmar To: "'tomcat-user@jakarta.apache.org'" Subject: RE: Changes in Servlet not getting loaded Date: Thu, 11 May 2000 09:37:34 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.1960.3) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I have also been unable to see changes to a .class after recompilation, even though lines like these appear in conf/server.xml: =20 Context for /test and /examples is basically the same. Should Tomcat automagially reload a modified servlet? If not, can the reload be triggered manually? Unless I misunderstand the meaning of 'reloadable=3D"true"', or this is the wrong file, or similar. It should not be necessary to restart a development server, much less a production server, in order to modify a single servlet on a site. Mark Kolmar Manta Media Inc. -----Original Message----- From: Ritesh Kumar [mailto:riteshk@blr.aptech.ac.in] Sent: Thursday, May 11, 2000 9:00 AM To: tomcat-user@jakarta.apache.org Subject: Re: Changes in Servlet not getting loaded Hi, But I have cleared all cache of browser and then closed it and then restarted browser. Even then this happens -Ritesh BCR \\ CRAPART Bruno wrote: > In my opinion, it is a cache problem. > This lines might help you. > > > > <% > response.setHeader("Expires", "Mon, 26 Jul 1990 05:00:00 GMT"); > // Date in the past > response.setHeader("Cache-Control" ,"no-cache, must-revalidate"); > // HTTP/1.1 > response.setHeader("Pragma", "no-cache"); > // HTTP/1.0 > %> > > -----Message d'origine----- > De : Ritesh Kumar [mailto:riteshk@blr.aptech.ac.in] > Envoy=E9 : jeudi 11 mai 2000 15:40 > =C0 : tomcat-user@jakarta.apache.org > Objet : Changes in Servlet not getting loaded > > Hi, > > When I put a fresh servlet under /webapps/example/WEB-INF/classes it > works fine. > > But if I change .java file and compile to .class file and then try to > use that servlet then also it picks up old .class file and not the > updated one. > > Only when I restart tomcat and then apache, the new .class file is > uploaded. [...]