Background: Migrating an application from ball of mud to MVC. Many classes contain HTML building methods. Refactoring as I add features, I'm not looking for a complete rewrite.
I'd like to build some smaller views but need to render them in between some serious string building.
To compose my views is a jsp I would use <jsp:include />
tags. Is there similiar functionality I can call from a class? I'm looking at java.net.URL but it will require a little plumbing. The class already depends on the request object.
Thanks in advance.