All:
- I placed a file called "properties.dat" in a jar file called "myJar.jar".
- I placed "myJar.jar" in an ear folder called "MyTestEar".
- I created a web application called "MyTestApplication" and placed "DisplayProperties.java" in this application.
--------
Question:
1. What do I need to do to get DisplayProperties.java to read the properties from myJar.jar?
- What should my
Java code look like? Do I need to do any imports or such?
- What dependencies in WSAD would I need to set?
-------
I am new to WSAD and am having a bear of a time trying to read in a properties file. Any help or links to articles would be appreciated.
Thanks,
John Coxey
(jpcoxey001@yahoo.com)