Hey guys.
Say I have two folders in my project:
src/main/java
src/main/resources
And I have code in the src/main/java folder, and this code wants to load a file that is in the src/main/resources folder. How would I go about doing that without using the location like this "C:\Documents And Settings\Workspace..."
Isn't there some way to use that path instead? Like this "/ProjectName/src/main/resources"?
So my code looks like this:
FileInputStream fis = new FileInputStream("what goes here?");
Thanks