tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Garscha <g...@core.gama.de>
Subject Using beans and Security...
Date Fri, 10 May 2002 11:24:37 GMT
Hi!

I've written a bean which handles database connections. its config is a
xml file which is located in the same jar as the bean and lies under
WEB_INF/lib.
in the bean the method getResource("config.xml") is called to load the
config file. but somehow i don't have access to config.xml in the jar.
it works fine if i use it outside tomcat servles environment. 
i tried a lot with classloader but till now i didn't manage to load the
config.xml. 

pleas help!

thanx a lot
markus



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message