JSP: Refactoring