aspose file tools*
The moose likes Tomcat and the fly likes Does Tomcat support dynamic class reloading for my web applications? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Does Tomcat support dynamic class reloading for my web applications?" Watch "Does Tomcat support dynamic class reloading for my web applications?" New topic
Author

Does Tomcat support dynamic class reloading for my web applications?

Stephen Suen
Ranch Hand

Joined: Oct 30, 2003
Posts: 34
I'm developing a simple web application under Tomcat 5. I just put my classes directly into WEB-INF/classes. When I recompiled any class and redeploy them to the directory and hope they can be reloaded. But it seemed it won't be dynamically reloaded. I must restart the application or the server.

I wonder whether Tomcat support dynamic class reloading for my classes of web applications?

Stephen
[ July 15, 2005: Message edited by: Stephen Suen ]
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Yes.
Search this page for the word 'reloadable'.

http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Does Tomcat support dynamic class reloading for my web applications?