aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Select Tag" Watch "Select Tag" New topic
Author

Select Tag

Mary Cole
Ranch Hand

Joined: Dec 02, 2000
Posts: 362
Hi,

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 ...how 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:

http://struts.apache.org/userGuide/struts-html.html#select
http://struts.apache.org/userGuide/struts-html.html#options

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:
http://struts.application-servers.com/struts-layout/tour.htm

Good luck!


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Select Tag
 
Similar Threads
plz get me the code for ths bean
Fatching data problem from html:selection
Dependent drop down boxes with javascript?
html:select problem
How to use html:options