add <Context path="/apps" docBase="apps" debug="0" reloadable="true" 
crossContext="true"> 
in you server.xml file

-----Original Message-----
From:   Bert Catsburg [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, February 12, 2003 9:00 PM
To:     Tomcat Users List
Subject:        Re: [beginner question] reloading classes

Hm, I do not understand why I should restart Tomcat.
The manager webapp should do the trick according to the
documentation. Why does this not work, or does it?

   http://localhost:8080/manager/reload?path=/PAQ

I hope to hear from somebody since I have this same solution.

Thanks,

Bert Catsburg


Richie Chauhan wrote:
> touch the jsp file where the bean is being loaded.
> touch and recompile the bean
> restart tomcat
> try and pull up jsp page now
> 
> That should work - it takes a while to get used to that.
> 
> Richie
> 
> -----Original Message-----
> From: Jacques Capesius [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 21, 2003 9:31 AM
> To: 'Tomcat'
> Subject: [beginner question] reloading classes
> 
> 
> Hi folks,
> 
> I'm new to Tomcat, but not as new to J2EE. I have a jsp, and I made a change
> to a class that's being loaded into it as a bean, but I can't get the page
> to use the new class and not the old one.
> 
> My question, thus, is: when I make changes to a class, how do I get Tomcat
> to reload the class?
> 
> Restarting Tomcat doesn't seem to do the trick.
> 
> Searching the web, I found a doc that made mention that "touching" the
> web.xml file would force the reloading of the class. I tried that and it
> didn't work.
> 
> I also read somewhere that going to the application (where the JSPs are) and
> typing ANT would force the recompile of everything. Still, the old class is
> being used.
> 
> I'm storing the class in %catalina_home%/classes/PSQ/. I'm loading it into
> the jsp by means of the following line of code:
> 
> <jsp:useBean id="psq" class="PSQ.PSQ" scope="session"/>
> 
> I've made sure there are no other versions of PSQ.class in any other places
> it might be used, for example, the WEB-INF/classes directory.
> 
> Thanks for whatever advice you can give, and I apologize if this question
> has been asked many times before.
> 
> -jacques :)
> 
> Jacques Capesius
> CNT Web Marketing Developer
> [EMAIL PROTECTED]
> (763) 268-6749
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to