• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

select tag in logic:iterate

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone,

I am using struts 1.2. I want to put some labels in a form from the database and with every label there will be a select tag whose options are also going to be fetched from the database.
How to do it.

Thanks.
 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

hitesh s kushwaha wrote:Hi everyone,

I am using struts 1.2. I want to put some labels in a form from the database and with every label there will be a select tag whose options are also going to be fetched from the database.
How to do it.

Thanks.



If you want to put select tag from data base then you need to fetch the data from the database before calling to form/current page. which will populate the value in select or label.
reply
    Bookmark Topic Watch Topic
  • New Topic