Set index and web.xml