• 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
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!