Otra cosa más:
Estoy agrupando los datos en ArrayList para pasarlos como atributos. Tengo un arrayList por cada tipo de datos, pero no consigo definirlos.
Con:
Código:
ArrayList <Integer>LInt = new ArrayList<Integer>();
Me salta el error:
Código:
An error occurred at line: 60 in the jsp file: /apl/principal.jsp
Generated servlet error:
Syntax error on token "<", invalid AssignmentOperator
Si no le indico el tipo, me aparece un warning:
Código:
Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic
type ArrayList<E> should be parameterized