Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

classloader path to get list of files in .war  RSS feed

 
agnes sun
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not quite sure what my classloader path should be like to get the list of files from a war. Here's the structure I have
.ear
|_ meta-inf
|_ application.xml
|_ web.war
|_ lib
|_ app.jar

MyApp.java is in app.jar and MyApp.java wants to list out all the files in web.war. I am not sure if it's possible. If so, what the path should be? If it's not possible, why not?

Thanks -A
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!