add web.xml for web and rest