简体   繁体   中英

List of jar's names on tomcat WEB-INF

i would like to get a help on this subject. i'm new on this subject so if i not explain correctly, i apologize. i run webapps project so its mean when i run the project, tomcat start to create a webapp file (war file) on the commant, first 'clean install' and then 'tomcat7:run-war' i run the project on eclipse. my question is how i can get the name of the jar/s that created on war file while runing ? i saw when i do 'clean install', under the root folder there is target folder which there created the jar who i looking to read his name. i thougut about reflection but i dont know how exactly i need to do it. thanks for everone for his help!

如果您在jar文件中执行此代码,则应该可以获得其名称: https : //stackoverflow.com/a/320595/7746397

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM