read manifest file during tomcat runtime
Posted on 2006-11-08
I have made a web application running on Tomcat.
The application is as war file, which contains multiple jar files in /lib folder.
I would like to show how many jar files are using in the war, and which version they are using.
How to achieve it (without hardcode the physical location of the files) ?
I tried to check the java.class.path but it does not work.