In a jsp file I have this declaration:
<jsp:useBean scope="request" id="products" class="java.util.ArrayList<sgt.supermarket.entity.Product>"/>
This declaration works fine with GlassFish 2.1, however, when I switch to Tomcat 6.0, exceptions is thrown:
The value for the useBean class attribute java.util.ArrayList is invalid.
Is there any library missed for Tomcat that makes it behave different from Glass Fish 2.1?