• 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

 
I am Arthur, King of the Britons. And this is a tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!