Actually, I'm having problems getting stuff in WEB-INF/lib jar files to be
imported by my JSP's (I'm getting ClassNotFoundException's). I was wondering if
tomcat.policy had anything to do with the problems.
Thanks,
Noel
well you can use the classloader, let's say that you have a jar file
(test.jar) containing a property file (test.properties) and the jar file is
in lib, then from your servlet you can say
this.getClass().getClassLoader().getResourceAsStream("test.properties");
is that what you are trying to achieve?
Filip
~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[EMAIL PROTECTED]
www.filip.net
>-----Original Message-----
>From: Noel L Yap [mailto:[EMAIL PROTECTED]]
>Sent: Monday, August 20, 2001 8:46 AM
>To: [EMAIL PROTECTED]
>Subject: tomcat.policy and WEB-INF/lib?
>
>
>Do I need to do anything in tomcat.policy in order to be able to use
>CONTEXT/WEB-INF/lib?
>
>Thanks,
>Noel
>
>
>
>This communication is for informational purposes only. It is not
>intended as
>an offer or solicitation for the purchase or sale of any financial
>instrument
>or as an official confirmation of any transaction. All market prices, data
>and other information are not warranted as to completeness or accuracy and
>are subject to change without notice. Any comments or statements
>made herein
>do not necessarily reflect those of J.P. Morgan Chase & Co., its
>subsidiaries and affiliates.
>
>
This communication is for informational purposes only. It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.