configured web.xml with rest servlet and added rest servlet spring resource config