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
Liutauras Vilda
Jeanne Boyarsky
paul wheaton
Sheriffs:
Ron McLeod
Devaka Cooray
Henry Wong
Saloon Keepers:
Tim Holloway
Stephan van Hulst
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Frits Walraven
Forum:
Struts
html: options tag
kailas simha
Greenhorn
Posts: 5
posted 19 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 19 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
If you believe you can tell me what to think, I believe I can tell you where to go. Go read this tiny ad!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
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...