This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Select Tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Select Tag" Watch "Select Tag" New topic

Select Tag

Mary Cole
Ranch Hand

Joined: Dec 02, 2000
Posts: 362

I have a Bean which has LabelValueBean[] in its constructor...I need to display the values in a Select box using struts....Sample code is

I need to disply this list in select box do i go abt it....pls gimme the <html:select syntax for this

Pls help...its urgent
[ May 24, 2005: Message edited by: Mary Cole ]
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Here are links explaining how to use these tags:

If you look at the example application that comes with the struts download, you can see an example of using the html:select and html ptions tags in the subscription.jsp file.

This link gives a detailed explanation of the examples:

Good luck!

Consultant, Sima Solutions
Consider Paul's rocket mass heater.
subject: Select Tag
Similar Threads
html:select problem
Fatching data problem from html:selection
plz get me the code for ths bean
Dependent drop down boxes with javascript?
How to use html:options