added finalName and updated index.jsp