I'm trying to load a resource file using ServletContext.getResource(filename). If the resouce isn't there the method should return null. Instead I'm getting a null pointer exception. This one should be fixed to match the spec.

The real problem for me is that I can't figure out where the ServletContext is looking for the resources. Could somebody please clue me in on the location? I was assuming that is was the same as the server root but that doesn't seem to be true.

Reply via email to