struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Senthivel U S" <>
Subject dropdown - options
Date Wed, 29 Jan 2003 15:40:24 GMT


I have one dropdown. For dropdown I have one property of type ArrayList
in the form. It displays the list. While submitting the page, if there
is any error, I want to display the same page with the dropdown list. I
don't want to set it as session/application attribute.

Jsp code

             <html:select property="testName" size="1" >
			<bean:define id="rows" name="testForm"
				type="java.util.ArrayList" />

                <html:options collection="rows"
			property="value" labelProperty="label" />

Any suggestions is highly appreciated.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message