hi,
i am trying to return data from my EJB to a JSP using a vector.
I push the recordset (as objects of type Details) in the vector in my EJB
and my JSP retrieves the same thru a business method.
But when i try to use that data using either the vector or enumeration in my
JSP, i get typecast error.

        Details Det = (Details) vec.elementAt(i);

        Details Det = (Details)en.nextElement();

Can somebody help?





Visit http://www.niit.com for eCommerce Solutions.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to