Hi
all,
I'm very
pleased with tomcat 3.2. Running servlets and JSP works fine. Just a little
question
I have a
servlet calling
try{
Object myBean = Beans.instantiate(null,
"my.package.MyClass");
}
The
servlet is in the directory: /webapps/foo/WEB-INF/classes
my.package.MyClass is there as well.
The
null param is the classloader and should fall back on the system
class-loader.
I read
somewhere that the /webapps/foo/WEB-INF/classes path is not the system
class-loader
but a
specific tomcat-classpath.
Should I
put the /webapps/foo/WEB-INF/classes on the CLASSPATH environment variable ?
Or is
there a more appropriate way in the workers.properties.
Or would
people recommend to create a ClassLoader and use this object in the
Beans.instantiate ?
Any help
is appreciated.
Marco
