Resources via code config ipv Web.xml