usebean

Exception in JSP usebean.

I've been working with JSP usebean, when I am trying to use bean in JSP, its throwing an exception that "It cannot find the class". But I've followed the correct structure, I assume, and included everything required. Please go through the code and let me know what could be the problem. //init.jsp -------- <%@ page import="com.wipro.uplo...

Netbeans 6.5 Jsf use bean

Hi: I'm making an application for school, but i'm new to jsf, what i need is to ask the name of a student in one jsf page, and display it on a label in the jsf that appears after you select submit in the first jsf page. I think i need to use beans to send the parameters, but when I try to add one, it appears me an error that the class is...

Tomcat 6.0 does not allow generic ArrayList to be used for useBean

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...