• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to populate drop down list using hibernate

 
Melvin Reynold
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have 2 tables which is classes and subjects. I want to populate the drop down list with all the classes in that table. And if i select a class, it will shows all subjects in a jsp page. Please help.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would not use Hibernate to populate a drop down list - it is an ORM technology not a GUI technology. What have you managed so far? What is confusing you?
 
Melvin Reynold
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is what i have done. I could not obtain the collection.

http://www.coderanch.com/t/453586/JSP/html-optionsCollection-cannot-obtain-specified

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic