Created
September 15, 2014 16:29
-
-
Save lolson/3d2dcb59eb3c535fad7e to your computer and use it in GitHub Desktop.
Load file as resource packaged in a war file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thread.currentThread().getContextClassLoader().getResourceAsStream("gov/nasa/gsfc/cof/web/data/cities.txt") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment