Tuesday, February 17, 2009

ServletContext.getResource fails

if either ServletContext.getResource or ServletContext.getResourceAsStream fails with a FileNotFoundException, ensure that the path to the resource starts with a /

Reference: https://jira.jboss.org/jira/browse/JBID-52

No comments: