Monish Unni wrote:
> Venerable Servlet Gurus,
> Im Instantiating & calling a class from a Servlet service Method.After
> Modifying the calling class (recompiling) The servlet still calls the old
> class.(Browser Cache cleared,Browser Restarted)To check I delete the
> calling class from the Disk,The jws still allows me to call the Class(which
> doesnt xsist)Thanx for Ur Inputs in Advance...
> Monish
>
You need to make sure that your called class is loaded with the same
classloader that loads your servlets. If it is on the system CLASSPATH, the
called class is loaded the first time it is used and then stays in memory for
the live of the servlet engine.
I do not know specifically how to do this with JWS, but it probably means
putting the called class in the same directory or JAR file you have your
servlets in.
Craig McClanahan
___________________________________________________________________________
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