1. Read resource inside context (.war) from a jar file stackoverflow.comI am using JBoss4.0.1 and Struts2.1.6 I have an application which have some configuration file(appConfig.xml in folder WEB-INF/config). This congiuration file contains the relative paths of other files to be read.(other.xml, some.xml etc). ... |
2. How to load resource from jar file packaged in a war file? stackoverflow.comI need to load a property file from the jar. The jar is included in war file. Here is the structure
|
3. Programmatically reading static resources from my java webapp stackoverflow.comI currently have a bunch of images in my .war file like this.
When I generate html via ... |