| Author |
error: The value for the useBean class attribute java.util.List is invalid
|
Sean Stephens
Ranch Hand
Joined: Oct 25, 2004
Posts: 40
|
|
Hey folks. Hoping you can give me an idea why I'm getting this error. I've got a List put in the session and I'm trying to retrieve it with a useBean tag for use on the jsp page, but I get the above error. Is there something that prevents useBean from using an interface for the class attribute? I ask because everything works if I test with an ArrayList instead, but the API I'm using provides a List... Thanks for any insight, Sean
|
 |
Sean Stephens
Ranch Hand
Joined: Oct 25, 2004
Posts: 40
|
|
|
Got the answer. JavaBeans have to be instanciable - so interfaces are right out as a useBean class attribute. Makes sense now that I think about it.
|
 |
 |
|
|
subject: error: The value for the useBean class attribute java.util.List is invalid
|
|
|