You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by EL AKARI Mehdi <me...@hotmail.com> on 2003/12/19 19:25:18 UTC

ClassLoader seems not working withing Appache tomcat 4.1.29

Hi,
I'm trying to get a resource from the classpath. I use the method  : 
myUrl = this.getClass().getClassLoader().getResource(oneResource).
and i'm sure that OneResource is present in the classpath.
This works fine in JDevelopper embeded OC4J.
But when i deploy the application in TOMCAT it gives me null.
What can i do?
Thanks
Mehdi