Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: about dynamic class loading

dima

2006-12-14

Replies:

You should read about class loader in Java. It does not relates to
tomcat. But tomcat implements classloader to load servlets, libraries
and jsp. You can't force class unload except calling gc.

Thursday, December 14, 2006, 6:02:06 PM, you wrote:

XN> hi everyone,
XN>  I'd like to know wether Tomcat can load a class dynamicly.
XN> for example, Tomcat can load a JSP page without restart the context when I
XN> changed the code of the JSP. But when I changed a class, the context must be
XN> restarted.
XN>  Can it load the changed class without context restart ?

XN>   I'll be glad to receive any advise :)

XN> thanks,




--
Best regards,
Dima                   mailto:dima@(protected)



---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.