I need to open a JAR file from within my Tomcat app and read some of
the files. Question: What's the best way to get the absolute path Name
of the Jar file so that I can pass that name to a JarFile object? 

I tried placing the JAR file in the WEB-INF\lib directory thinking its full
path name would show up when I performed:
System.getProperty("java.class.path").  However, this call returns only
the JDK tools.jar file and the tomcat bootstrap.jar file, even though
I have many JAR files in my WEB-INF\lib.

What approaches have other folks used for this?
Thanks

Reply via email to