Rob, you are right. My web-container does not support Java 5.
I'm using JBoss 4.0.2, and even though I have startet JBoss with Java 5, and even though I'm using generics in my DAO (and this works), I cannot use generics or autoboxing in my JSP. The following scriptlet-code fails:
int i1 = 5;
Integer i2 = i1;
int i3 = i2;
It seems, I should update my application-server to a higher version.