I believe JDT with tomcat does not support 1.5. Only 1.4.

-Tim

Connor Barry wrote:
I'm trying to compile this code:

<% Collection<Integer> a = new ArrayList<Integer>();%>

And I get this error:

-------------------------------------
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 10 in the jsp file: /test.jsp
Generated servlet error:
Syntax error on token "<", invalid AssignmentOperator

An error occurred at line: 10 in the jsp file: /test.jsp
Generated servlet error:
Syntax error on token "=", != expected
-------------------------------------

When I remove both cases of "<Integer>", it compiles. I'm guessing the brackets need to be escaped but I can't figure out how.
I'm using Tomcat 5.5.4 with jdk1.5 and the Eclipse JSP compiler that's activated by default.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to