[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - jboss-4.0.5.GA-Cannot parametrize List in JSP

AnuSree do-not-reply at jboss.com
Mon Nov 19 02:11:22 EST 2007


Hai all,

I am using jboss-4.0.5.GA and java5 to create&deploy a web application.
But inside the jsp file I cannot  parametrize the generic type list,
Because it shows the following error while executing the jsp file
The error is

Generated servlet error:
Syntax error, parameterized types are only available if source level is 5.0

But this error won't occur in  servlet  with the same parametrization.

My web.xml contains the folloing entry

<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
how to solve this ,please help me
thanks
anu


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105900#4105900

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105900



More information about the jboss-user mailing list