Refactoring jsp-pages for spring