On IRC I got the following suggestion for reading a properties file:
URL aURL = getClass().getClassLoader().getResource("myApp.properties")
The other suggestion I found online was:
InputStream inStream = this.getClass().getClassLoader().getResourceAsStream
("myApp.properties");
Is there a preference or advantage of one way over the other?
------------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users