i\'ve been trying to get getResource to work correctly this whole morning but so far the only way i\'ve had to get it working is by moving the res folder to the bin folder a
Normally, in a Java project, you would add the /res folder as a source folder in the project settings.
In a Plugin project, you would add the folder to the output in the build.properties.
In a Dynamic Web project, you would put the /res folder in the WebContent folder.