title: Including JSP page into another JSP page, how to avoid multiple HEAD / BODY sections?
body: <p>I would like to include a JSP page into another JSP page. Let's say that I have <code>master.jsp</code> that is including <code>slave.jsp</code>.</p>
  
  <p>As <code>slave.jsp</code> has its own <code>&lt;head&gt;</code> section for dealing with JavaScript and CSS, is  there a way or maybe another method to merge the <code>master</code>and <code>slave</code> <strong>HEAD</strong>s section into a single one? Also the same should done for the <strong>BODY</strong>s section.</p>
  
  <p>I have been using <strong>sitemesh</strong> recently but I think is quite impractical to setup a template for each page.</p>