Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
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
Tim Cooke
paul wheaton
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Liutauras Vilda
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Struts
html: options tag
kailas simha
Greenhorn
Posts: 5
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I have a list of values held in the label bean. When I create the drop down, how do I make one of the values a "default"?
For Ex, if "John", "Jill", "Jennifer" and "Kim" are the options in a drop down, how do I make (force) "Jill" to be default when the page comes up?
Thanks !
s penumudi
Ranch Hand
Posts: 113
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I guess you will be having a action form field for that drop down box. to that form field set "Jill" as value and it will get by default selected
I suggest huckleberry pie. But the only thing on the gluten free menu is this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
question on drop down list box
Drop down from DataBase problem
Session values of a Backing Bean in JSF
Drop Down Box in Struts - Select Default Value Implementation
JSTL sql taglib and html drop down box
More...