You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jesse Vitrone <je...@vitalworks.com> on 2003/04/02 21:47:07 UTC
html:select
I'm pretty new to the jsp tag stuff, and I need to do something that I would
think is pretty common, but I can't seem to do it without resorting to
scriptlets.
I have an Address, which has a String state on it.
I have a Collection of States which have an int id, and String name on them.
How can I generate a select list that defaults to the value that matches the
state on my Address?
Seems like this would be pretty common, but I can't find it anywhere :(
Thanks in advance,
Jesse