Hi,
I am working on an application where we must use struts 1.0 (and it's my first time with 1.0 as all my other experience is beyond this version). So when I am using <html:select tag it is not behaving like it did in later version -- my code is:
<html:select property="selectedCourse">
<bean
efine id="courses" name="myForm"
property="courses" type="java.util.Collection"/>
<html
ptions collection="courses" property="value"
labelProperty="label"/>
</html:select>
I have the selectedCourse property set explicity in the form to a specific value (that is not the first in the sequence), so I am expecting that value to be selected automatically when displayed (no additional code required as has worked for me in later version of struts), but this is not happening - the selected item as displayed is simply the first in the options list. So is this a struts 1.0 limitation or am I just overlooking something?
Many Thanks