File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
pre-select in html:select
Joined: May 14, 2004
Dec 12, 2004 22:48:00
I need help on pre selecting items in html:select.
Thanks in advance
, SCBCD, OCP
When I see through the fog I see myself...
Joined: Jun 06, 2003
Dec 13, 2004 23:38:00
It's pretty straight. Just assign a value to the property, which you are going to use for the <html: select>. It'll be prepopulated.
Btw, for exact code and greater details, search the archive. It's one of the regularly asked questions.
Thanks and regards,
It is sorta covered in the
JavaRanch Style Guide
subject: pre-select in html:select
Setting a preselected value in a combo
Pull-down menus: How to scroll down to first pre-selected option
Ajax and jsp as response
Tips on using this discussion software
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014