glogin
asked on
read manifest file during tomcat runtime
Hi all
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.
Rgds/Glogin
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.
Rgds/Glogin
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
a java application will not have a ServletContext, only in web applications .
ASKER
How can I get the application from java bean / java program, instead of JSP?