title: print/output a jsp page from a servlet
body: <p>I have a header.jsp, menu.jsp and footer.jsp page. I now need to output a page from a servlet and want to include the header (which includes the menu) and the footer from the servlet before and after the servlet generated output.</p>
  
  <p>It's homework and the page must be created by the servlet even though the logic is very simple. 
  Note that using a templating system or anything else fancy would be overkill.</p>
  
  <p>Is this possible and how?</p>