Just fixed annoying jsp problem - the web.xml file in WEB-INF contains a servlet entry for index.jsp by default, which conflicts with the page itself.