• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

select tag in logic:iterate

 
hitesh s kushwaha
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • 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.
 
Ranveer K Kumar
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic