Assume a JSP file that calls a static function "A" on some class. "A" then goes down the stack looking for what class called it. It then tries to get a Class object for that class with forName.
It works when the function is called from a class I create outside of the JSP. But when called from inside a JSP scriptlet, the className it finds on the stack is one (I assume is) genated by the compile from JSP into a Java class file, and it does not find that one. I get the ClassNotFound exception. So I guess that means the class loader can't find it, so I would then guess that there is more than one class loader and I'm not using the right one in a call to forName. Am I on the right track here? I'm using Tomcat 5.5.7. Aisha www.chakpak.com