I have a registration form. If a user makes a mistake he or she gets sent back to the registration page by RegisterForm.java.
Struts is automatically filling in the free text fields so that the user doesn't have to fill in the whole form again, but is not preselecting the drop down fields. I'm not sure why this is happening. My jsp code is:
DropDownFactory factory = DropDownFactory.getInstance();
ptions name="personTitle" property="idList" labelName="personTitle" labelProperty="categoriesList"/>
The personTitle DropDownBean has a method called getIdList(), which as the name suggests returns a List with the Strings "1","2","3" etc. that match the Title table in my database.
Does Struts have the capability to select these choices again, or am I going to have to use something other than the <html:select> and <html