Link to home
Start Free TrialLog in
Avatar of glogin
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
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of glogin
glogin

ASKER

Thanks.
How can I get the application from java bean / java program, instead of JSP?
a java application will not have a ServletContext, only in web applications .