I am having a web application having following structure:
WEB-INF
|-classes
|-templates
|-abc.properties
|- xyz.properties
|-lib
|-internal.jar (all classes of our application)
|- other jars
These are bundled as a war
I want to get name of the files present in WEB-INF/classes/templates Also I want to get the file object of a file in WEB-INF/classes/templates based on name of the file. NOTE: Above operation needs to be done from one of the class present in internal.jar. Basically they are on classpath