struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Srivastava" <>
Subject List boxes and Form classes
Date Mon, 12 Nov 2001 11:01:23 GMT
Hello All,

Another new-bie question.

I have a html form that has a drop down box. When writing the Form object
for this html form what should be the data type of the property which
represents this field of the html-form?

should it be a string or a collection type like ArrayList.(as the drop down
has many options to choose from).

Also, how do i indicate which value should be selected by default. Since
struts would populate the value of the html forms with what is there inside
the form bean.

Any help would be greatly appreciated.


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

View raw message