JBoss – JasperException in JSP using generics and ‘for each’
Tháng Sáu 5, 2012 Để lại phản hồi
JBoss 4.0.4 throws the following exception while using generics in JSP even if java version is 1.5 or greater
Syntax error, parameterized types are only available if source level is 5.0
Syntax error, ‘for each’ statements are only available if source level is 5.0
The workaround for this issue is to add the following XML configuration to
inside tag with jsp inside it.
(Note that there are many servlet tags in this web.xml, so be careful)