I'm interested in the front controller servlet:
https://martinfowler.com/eaaCatalog/frontController.html
I'd like to stick to servlet as much as possible, but am not terribly keen on using a multitude of system.out commands to print html.
How would I use "fragments" of html, stored literally as foo.html and bar.html, for different servlets to mix-and-match.
Yes, this a poorly researched question as it stands. I'll add research too it, only looking for general information please.