title: how to import rendered <jsp:include ... > in js
body: <p>I have a js like below: </p>
  
  <pre><code>    var html=""
      $.getJson("getRelatedDynamicFields.json", { ajax: 'true'}, function (data) {
         switch(data[0].ReferenceType) {
            case "Table1":
                 html += '&lt;jsp:include page="Page1.html"&gt;';
                 break;
            case "input":
                  html += '&lt;input id="' + data[0].id + '" type="text"/&gt;';
                  break; 
  .
  .
  .
         }
      }
      $('#myDiv').html(html);
  </code></pre>
  
  <p>the second case works find, but the first case doesn't. I get the page with error and not loaded completely.
  how should I do this?</p>