strongly typed collection in a scriptlet tag won't compile

2004-12-18 Thread Connor Barry
I'm trying to compile this code: <% Collection a = new ArrayList();%> 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 toke

precompile JSP - _jspx_dependants.add unchecked warning

2004-12-16 Thread Connor Barry
When I precompile my JSPs on Tomcat 5.5 with JDK 1.5 and I use the javac option -Xlint:unchecked, I get this warning for those files which include another: [javac] C:\tomcat\webapps\XXX\WEB-INF\jsprc\org\apache\jsp\admintool\edit_jsp.java:25: warning: [unchecked] unchecked call to add(E) as