tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael E. Locasto" <>
Subject Re: query
Date Fri, 03 May 2002 13:04:13 GMT
> <jsp:useBean id="sidebarObjects" scope="request"
> />
> Internal Servlet Error:
> javax.servlet.ServletException:  Cannot create bean of class
> java.util.Iterator
> Any ideas

Check out tomcat-users, and read the Iterator Javadocs. It's an
you can't instantiate an Interface. Because of this, Iterator doesn't
javabean-style creation (no constructor, no properties, etc). Use your
custom class that conforms to the bean standard and implements (or uses)
Iterator instead. I really can't give you details, I have no idea what
your design requires.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message