tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Svante Berglund" <>
Subject Getting resource in WEB-INF
Date Wed, 19 Sep 2001 06:56:32 GMT

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 META-INF and edit the tomcat.bat
so this .jar is the first one in the classpath. This feels like a dirty
workaround, is there a better way to solve the problem?

thanks in advance.

View raw message