You need to create your own classloader and load your custom class into that classloader. Then when it changes - you disregard that classloader (and its class). Tomcat is not doing the caching - the jvm is.

-Tim

Michael Vorschütz wrote:

Hello,

My web application generates at runtime a java class and compiles it. If I
change this class and recompile it the application uses the old class from
the tomcat cache and not the new compiled one.

Is there a possibility to delete this cached class manualy or force tomcat
not to cache this class?

I don't want to restart the tomcat or delete the whole cache after the
changing. And I don't want to set the reloadable parameter to true for the
whole web application.

Has somebody an idea how I could implement this?

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

Reply via email to