Getting resource in WEB-INF

2001-09-19 Thread Svante Berglund
Hi. I have a problem when using a InitalContextFactory from Oracle in a jsp-page on a stand-alone Tomcat. Problem is that the oracle-class tries to get hold of a resource as: classLoader.getResource(META-INF/application-client.xml), which don?t work unless I create a .jar with this specific

Re: Getting resource in WEB-INF

2001-09-19 Thread Dmitri Colebatch
Put the oracle library in WEB-INF/lib instead of tomcat/lib - I assume thats where it is? sounds like a similar thing to the way struts works, Craig explained it when I asked a few weeks ago - you might find the mail by seraching for struts and classloader and dim (o: cheers dim On Wed, 19

SV: Getting resource in WEB-INF

2001-09-19 Thread Svante Berglund
the archive though as you recomeded. Halsar Svante -Ursprungligt meddelande- Fran: Dmitri Colebatch [mailto:[EMAIL PROTECTED]] Skickat: den 19 september 2001 15:01 Till: [EMAIL PROTECTED] Amne: Re: Getting resource in WEB-INF Put the oracle library in WEB-INF/lib instead of tomcat/lib - I