If you would have read the README file which comes with tomcat, this is what it has
to say.
Maybe you'd have to wait for the next patch to relaod.

Good Luck!

Avi
KNOWN BUGS AND ISSUES
---------------------
1. Automatic servlet reloading is not implemented in Tomcat.

2. The web server crashes with a StackOverflowException if there
   is infinite recursion in RequestDispatcher.forward/include or
   <jsp:forward/include .../>.


Richard Liu wrote:

> Hi, thank you very much, Hans, Craige R, and Hensley.
> I did mean if tomcat reload servlet classes when you modify them.
> I did put all my servlets in the WEB-INT directory of my web application and
> edited the server.xml file to set reloadable="true". but it does not work.
> do i have to do some configuration that the "FAQ" file with tomcat does not
> mention?
>
> Regards
> Richard
>
> , but only for class files located in the WEB-INF/lib
> > and WEB-INF/classes directories for your web application. Classes found
> > in the CLASSPATH environment variable, set before starting Tomcat, are
> > not reloaded automatically.
>
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Hans Bergsten
> Sent: Friday, June 23, 2000 10:48 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Is Tomcat reloadable?
>
> "Hensley, Zachary" wrote:
> >
> > I don't think that it has to be off of the web-inf directory.  It just has
> > to be in a servelet context path, which doesn't have to be web-inf.
>
> I'm not sure I get exactly what you say: classes can't be "in a servelet
> context path" (the term "context path" usually refers to the URI path
> prefix assigned to a servlet context). Maybe you're talking about JSP
> pages, not regular servlet classes and utility classes?
>
> Anyway, Tomcat 3.1 only automatically relods class files located in
> WEB-INF/classes and WEB-INF/lib for the web application (servlet context).
>
> Hans
>
> > -----Original Message-----
> > From: Hans Bergsten [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, June 22, 2000 10:10 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Is Tomcat reloadable?
> >
> > Richard Liu wrote:
> > >
> > > Hi, Everyone,
> > >
> > > I am using Tomcat 3.1. it works fine, but it is not reloadable. I did
> edit
> > > the server.xml file and set reloadable="true". but it does not work. I
> am
> > > wondering why. Any one know how to make reloadable work? Any comments
> will
> > > be appreciated.
> >
> > I assume you mean, does it reload servlet classes when you modify them?
> > If so, yes it does this, but only for class files located in the
> WEB-INF/lib
> > and WEB-INF/classes directories for your web application. Classes found
> > in the CLASSPATH environment variable, set before starting Tomcat, are
> > not reloaded automatically.
> >
> > Hans
> > --
> > Hans Bergsten           [EMAIL PROTECTED]
> > Gefion Software         http://www.gefionsoftware.com
>
> --
> Hans Bergsten           [EMAIL PROTECTED]
> Gefion Software         http://www.gefionsoftware.com
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to