Results 1 to 4 of 4

Thread: Load combobox (select list) from database

  1. #1
    Join Date
    Jul 2007
    Posts
    10

    Default Load combobox (select list) from database

    Hi all,

    I want to load items of combobox(select list) from my database. How can i do that?

  2. #2
    Join Date
    Dec 2006
    Location
    Jakarta
    Posts
    45

    Default

    In our project (Struts, Spring, Hibernate)

    we create a custom tld for the combobox, and then in the combobox we configure which Hibernate NamedQuery to be call.

    So during rendering the jsp, system will load the droplist base on the namedquery provided.
    Isyak Melton
    Senior IT Consultant

  3. #3
    Join Date
    Aug 2006
    Location
    Arequipa-Peru / South America
    Posts
    2,796

    Default

    - Manuel Jordan

    Kill Your Pride, Share Your Knowledge With All
    The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7

    Blog


    Technical Reviewer of Apress

    • Pro SpringSource dm Server
    • Spring Enterprise Recipes: A Problem-Solution Approach
    • Spring Recipes: A Problem-Solution Approach, 2nd Edition
    • Pro Spring Integration
    • Pro Spring Batch
    • Pro Spring 3
    • Pro Spring MVC: With Web Flow
    • Pro Spring Security

  4. #4
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    This is a pretty general question, have you looked at the petclinic example?
    Last edited by karldmoore; Aug 27th, 2007 at 03:58 PM.
    Barracuda Networks SSL VPN Lead Developer
    http://pramatr.wordpress.com
    http://twitter.com/karldmoore
    http://www.linkedin.com/in/karldmoore
    Any postings are my own opinion, and should not be attributed to my employer or clients.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •