• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Select Tag

 
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic