The moose likes Struts and the fly likes html:optionsCollection cannot obtain specified collection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:optionsCollection cannot obtain specified collection" Watch "html:optionsCollection cannot obtain specified collection" New topic

html:optionsCollection cannot obtain specified collection

Melvin Reynold

Joined: Jun 12, 2009
Posts: 15
I want to get a list of classes from the sql database using struts & hibernate but i could not obtain the collection. Please help.

Classes hibernate mapping


actionforward getlist of classes

classesForm with setter and getter

classes pojo with setter and getter

getlist of classes DAO


Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60780

Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Don't get me started about those stupid light bulbs.
subject: html:optionsCollection cannot obtain specified collection
Similar Threads
Problem setting form property in action
Struts & Hibernate Integration unable to delete values from MYSQL database
Dynamic drop down in struts
Can we send multiple textfield of same type in struts
Failed to obtain specified collection