title: how to include one jsp page in another jsp page
body: <h2>terms_span.jsp</h2>
  
  <pre><code>            &lt;jsp:include page="/includes/inc_terms_span.jsp"&gt;
                  &lt;jsp:param name="list" value="true" /&gt;
  
              &lt;/jsp:include&gt;
  </code></pre>
  
  <h2>inc_term_span.jsp</h2>
  
  <pre><code>&lt;%String showaslist = request.getParameter("list"); System.out.println("show list? "+showaslist); 
      if(showaslist!=null &amp;&amp; showaslist.equalsIgnoreCase("true")){
  %&gt;
  
  &lt;p&gt; Welcome to the page &lt;/p&gt;
  
  else
  {%&gt;
  
  &lt;p&gt; error in the connection &lt;/p&gt;
  &lt;%}%&gt;
  </code></pre>