title: for-each loops and generics in Java EE
body: <p>I am designing a website-based project wherein I first designed my logical layer in Java SE application development. Then I made the GUI in Java EE for the website. I am importing my Java SE files in the Java EE architecture using JSTL and I will call the data using this only. </p>
  
  <p>But, it is giving me an error as follows:</p>
  
  <ol>
  <li>for-each loops -- <code>for-each loops are not used in source 1.4, try source 1.5 to enable for-each loop.</code></li>
  <li>generics -- <code>generics are not supported in source 1.4, try source 1.5 to enable generics</code></li>
  <li><code>variable-arity methods are not supported in -source 1.4</code></li>
  </ol>