File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
I agree. Here's the link:
subject: Select Tag
It's not a secret anymore!