index jsp do refactor