The way I see it work, you can reload servlets and jsps, but not other
classes (beans etc.).  I'm not sure if this is correct, just my
experience.

cheers
dim

On Thu, 19 Jul 2001, Cory Powers wrote:

> I thought that was what the realoadable setting in server.xml was supposed
> to do. Of course, I've never got it to work...
> 
>         <Context path="/examples" 
>                  docBase="webapps/examples" 
>                  crossContext="false"
>                  debug="0" 
>                  reloadable="true" > 
>         </Context>
> 
> -----Original Message-----
> From: John Baker [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 19, 2001 8:37 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Class reloading
> 
> 
> On Thursday 19 July 2001 12:50 pm, you wrote:
> > does anyone know how this is in tomcat 4 ?
> >
> Oh, sorry. I was referring to Tomcat 4. It's all I use. I can't live without
> 
> the newer JSP/Servlet features.
> 
> > thanx
> > -r
> >
> >
> > -----Original Message-----
> > From: Paul Foxton [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, July 19, 2001 10:23 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: Class reloading
> >
> >
> > AFAIK tomcat doesn't support automatic reloading of classes. You do have
> > to
> > restart.
> >
> > Paul
> >
> > > -----Original Message-----
> > > From: John Baker [mailto:[EMAIL PROTECTED]]
> > > Sent: 19 July 2001 11:36
> > > To: [EMAIL PROTECTED]
> > > Subject: Class reloading
> > >
> > >
> > > Hello.
> > >
> > > If I write a class and use it in a jsp page, then change the
> > > class, I have to
> > > restart tomcat. Is there any way I can get around this, ie
> > > tell tomcat to
> > > reload the class (and forget about the cached loaded copy I
> > > expect it has).
> > >
> > >
> > > John
> > >
> > > --
> > > John Baker, BSc CS.
> > > Java developer, Linux lover.
> > > I don't wanna rock, DJ.
> 
> -- 
> John Baker, BSc CS.
> Java developer, Linux lover.
> I don't wanna rock, DJ.
> 

Reply via email to