I am designing a website-based project wherein I first designed my logical layer in Java J2SE application development. Then I made the GUI in J2EE for website. I am importing my J2SE files in J2EE architecture using JSTL and I will call the data using this only. But it is giving me an error as follows:
- for-each loops -- for-each loops are not used in source 1.4, try source 1.5 to enable for-each loop.
- generics -- generics are not supported in source 1.4, try source 1.5 to enable generics
- variable-arity methods are not supported in -source 1.4
I am using the NetBeans IDE for my development. Please suggest how I can avoid these errors. I am new to Java. Please guide.