And when I try to execute your code: I get URL cannot be resolved to a type... what am I missing here. Is there something out there that will allow you to reference a file that is contained within the WAR file without having to perform a request?