This content has been marked as final.
Show 1 reply
-
1. Re: location of property files within .ear
milowe Oct 10, 2003 2:39 AM (in response to andy999)You need a valid context to be able to load the file
within the ear (...getResource("/path/propfile").
But you are probably better off not including the prop file in the ear since you dont want to build a new ear if you are changing the file.
You can load the prop file from any location as long as it is in the classpath ( for instance : this.getClass().getResourceAsStream("/propfile"))
/micke