Yes, what you are experiencing is probably normal behavior. The behavior you
describe is how Netscape Enterprise Server and servletRunner work. In
general, the server does not realod the servlet class files every time it
gets a request. The servlet classes are loaded once and stay loaded. The
only way to get the server to reload the servlet is to restart the server.
There are some servers that can detect and load new servlet class files. The
one I know about is JRun.
Kevin Mukhar
> ----------
> From: Kenia Nimesh[SMTP:[EMAIL PROTECTED]]
> Reply To: A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology.
> Sent: Thursday, February 25, 1999 3:00 AM
> To: [EMAIL PROTECTED]
> Subject: Servlet Reloading : brain Unloading
>
> Hi
> When I modify the servlet file it's not getting updated.The webserver
> still shows the earlier file. I have to shut down my webserver and start
> it again.
> I even came across one more intersting thing!!!
>
> Once my servlet is executed . I delete the class file from the
> webserver.After that when I execute the servlet in the browser it still
> shows me the output of the servlet file even though I have deleted that
> file. So from where does my webserver access the class file?? If I shut
> down thw machine the webserver then asks for that class file..
>
>
> Follwing things already tried out
>
> 1.Reloaded the JavaWebserver
> 2.All my servlet files are in the servlet directory of Javawebserver.
> 3.Simple example like HelloWorldServlet is also not working
> i.e if i change the HeLLoWorldServlet file: the output is not getting
> updated unless I shut down the machine.
>
> Please help me out.
>
> Nimesh
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html