Re: Some java help needed!
"Diez B. Roggisch" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
use <SomeClass>.getClassLoader().getResourceAsStream("countries.txt")
and move it to <webapp>/WEB-INF/classes.
Diez
> If I want to avoid the absolute directory, for the convenience of
> deployment in Tomcat, in which directory, should I place the
> countries.txt file?