We've got a legacy app to support. It's pure JSP, i.e. JSP opens connections, does business logic, submits forms (usually to the same JSP), and so on. It's 400+ pages, with some pages are as large as 100K.
The app is expected to be extended and modified over the next few years, so we're looking into ways to split presentation and business logic to simplify the maintenance. At the very minimum we'd like to port it into some simple MVC framework (Struts is #1 candidate).
Nobody is enthusiastic to refactor every page manually. We had an idea that may be somewhere there is a tool that does at least the partial refactoring, e.g. creates ActionForm based on request.getParameter() calls in JSP, moves all Java code into Action (though uncompilable), replaces some "<% if" with <c:if tags, and so on.
The remaining work is still very boring, but at least it has a much smaller scope.
Does anyone know such a tool?