This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 131
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: html:options tag help ASAP
 
It's not a secret anymore!