tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wentzel <>
Subject RE: Why the servlet still alive?
Date Fri, 19 Jan 2001 22:13:48 GMT
> Henry DU wrote:
> > I removed the servlet from the directory and removed the 
> servlet mapping
> > from web.xml file, however the servlet was still alive. 
> What is the problem?
> Restart tomcat.

Denis is right.
Removing files while the server is still running does not affect
classes.  At startup the class definition was loaded into the
jvm's memory block and was instantiated and init() 'ialized and
then waits for requests.  Since the instance already exists and
the class def has been loaded the class file itself is really no
longer in use.

Michael Wentzel
Software Developer
<A HREF="">Software As We Think</A>
<A HREF="">Michael Wentzel</A>

View raw message