title: How to include a file in Javascript and Jsp?
body: <p>Ok,i know in Php you can use include for a Php file...for example... </p>
  
  <pre><code>include("array.php");
  </code></pre>
  
  <p>Is there a way to do this in Javascript and Jsp?</p>
  
  <p>From what i read i cant use for example <code>include("array.javascript");</code> or <code>include("array.jsp");</code></p>
  
  <p>I want to load the array from a different file and i know how to do it with Php,but not with Javascript or Jsp. Any help?</p>