Hi Linas,
I disagree with you on this point. I think this propblem will come up on
every web-server. 'Coz they check only for changes in servlet files, not in
helper class files (Venkatesh terminalogy).
Once a class is instantiated, it is loaded in memory and therefore any
changes made to the class file won't be reflected. To overcome this problem
you'll have to explicitly stop the servlet and then start it again. This way
your helper class will be instatited again.
Nitin
----- Original Message -----
From: Linas Raslavicius <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 05, 2000 1:12 AM
Subject: Re: load the helper classes when Servlet instantiates the helper
class
> If you are using Sun's JSWDK or Apache's Tomcat, you need to stop the
server and
> re-start it.
>
> Venkatesh Meesala wrote:
>
> > I have created a servet say (MyServlet). That Instantiates a helper
class
> > and uses its services. When I make changes to helper class and and
recompile
> > and place the class file in the same directory as the MyServlet class.
> > The helper class does not get loaded. but if changes were made to the
> > servlet class file...the changes gets reflected during invocation.
> >
> > I would like to know how can I make a servlet pick up the latest helper
class
> > file at the time of invocation.
> >
> > need help ASAP.
> >
> > Thanks In Advance.
> > Venkatesh
> >
> >
___________________________________________________________________________
> > 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
>
> --
> Linas Raslavicius
>
> President
> Iron Wolf Software Corp.
> High Value Software For Your Business Applications
>
> PO Box 1039
> Huntington Beach, CA 92647
>
>
___________________________________________________________________________
> 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
___________________________________________________________________________
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