Re: Class.forName doesn't find classes located in WEB-INF/lib

2011-06-07 Thread Mark Thomas
On 06/06/2011 23:35, Clemens Eisserer wrote: > Hi Martin, > >> 3)webapp (everything found in WEB-INF/lib and WEB-INF/classes) >> >> you are using system classloader to loaf WEB-INF/lib jar >> use the webapp classloader > > So according to this, the servlet as well as the classes from > WEB-INF/li

Re: Class.forName doesn't find classes located in WEB-INF/lib

2011-06-06 Thread Clemens Eisserer
Hi Martin, > 3)webapp (everything found in WEB-INF/lib and WEB-INF/classes) > > you are using system classloader to loaf WEB-INF/lib jar > use the webapp classloader So according to this, the servlet as well as the classes from WEB-INF/lib are loaded with the same classloader? What I did in the s

RE: Class.forName doesn't find classes located in WEB-INF/lib

2011-06-06 Thread Caldarale, Charles R
> From: Clemens Eisserer [mailto:linuxhi...@gmail.com] > Subject: Class.forName doesn't find classes located in WEB-INF/lib > I have a servlet which dynamically loads classes from jar-files > located in WEB-INF/lib/, Do you do your own classloading, or let Tomcat's classloaders do it? If the f