tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chinmoy Chakraborty <cch...@gmail.com>
Subject Re: How to use custom classloader to load my own app classes in tomcat?
Date Thu, 21 Jan 2010 12:36:50 GMT
Thanks a lot for your reply. This is what I want:

I have a webapplication and I want to load the classes of my app
(../WEB-INF/classes & ../WEB-INF/lib) using my own classloader. Now I have
my own classloader. My question is,

how to tell tomcat to use my custom classloader to load classes of my app?
can you please elaborate your point [2] i.e. Write code in web app to use
your custom classloader? could you please give me an example?

hope i have made clear about what i want to achieve.

Chinmoy



On Thu, Jan 21, 2010 at 5:58 PM, Peter Crowther <peter.crowther@melandra.com
> wrote:

> 2010/1/21 Chinmoy Chakraborty <cchinu@gmail.com>
>
> > How I can use my own custom classloader to load my own app classes inside
> > webapp? Please share some ideas.
> >
> > 1) Write custom classloader.
> 2) Write code in web app to use your custom classloader.
>
> Sorry... if you want us to help you, I think you'll need to provide more
> information about what you're trying to achieve.
>
> - Peter
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message