I'm sorry Raj but you are wrong there. Opening a new instance won't help.
Actually Servlet is loaded by the server the very first time you call it and
after that for every doGet or doPost the server just creates instances of it
(that's why the init() method is called only once).It explains why the
servlet is executed even after you'd deleted the class file ('coz it's been
already loaded by the server).
Sophisticated web-servers like JWS, Apache (with JServ), Novonyx etc. take
care of this problem by loading the servlet again if it's changed but JSDK
and JSWDK can't do it by themselves. So you need to shutndown the server and
then restart it again to load the modified servlet.

Nitin

___________________________________________________________________________
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

Reply via email to