Re: Non-servlet class cannot access jar file in ./WEB-INF/lib whena Servlet does

2005-10-06 Thread Jose Maria Ramirez Martinez
some class in server classloader to load some other class (probably by reflection) which is located in WEB-INF/lib. That simply impossible to do because classloaders use a child to parent classloading delegation model, not a parent (server) to child (webapp). Regards David Delbecq Jose Maria

RE: Non-servlet class cannot access jar file in ./WEB-INF/lib when a Servlet does

2005-10-06 Thread Jose Maria Ramirez Martinez
: package.className = new package.className(); -Sabitha Jose Maria Ramirez Martinez a écrit : Hi, everybody I have the next problem: A servlet calls a non-servlet class, and this non-servlet class imports classes from a jar file, but the classloader does not find the class from the jar file (so when I

Non-servlet class cannot access jar file in ./WEB-INF/lib when a Servlet does

2005-10-05 Thread Jose Maria Ramirez Martinez
Hi, everybody I have the next problem: A servlet calls a non-servlet class, and this non-servlet class imports classes from a jar file, but the classloader does not find the class from the jar file (so when I call the servlet from an internet browser, I get a NoClassDefFoundException) But if