This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes html:options tag help ASAP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:options tag help ASAP" Watch "html:options tag help ASAP" New topic
Author

html:options tag help ASAP

ashish kulkarni
Ranch Hand

Joined: Aug 15, 2002
Posts: 130
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


A$HI$H
 
 
subject: html:options tag help ASAP