Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html:options tag help ASAP

 
ashish kulkarni
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I get a result set from a query which has id and description, now I have to show the it in select tag some thing like this,
select name="option"
option value="id1"desc1/option
option value="id2"desc2/option
/select
I think that i can use html ptions tag which will do my work, but i m not sure how to use it,
how do to define the bean, and also how to set the properties, does anyone have sample code of the bean and the tag for that bean, it will help me alot..
Thanx
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic