Refactoring the JSPs.