I have a jsp page that has input fields for personal information, so i made a PersonalInfoForm with all the setters and getters and a validate method.  On this jsp i also have a drop down list that gets created by an array of beans:
 
<html:select name="personalInfoForm" property="ethnicity" >
        <html:option value=""/>
        <html:options name="translateItem" collection="ethnicityArray" property="code" labelProperty="longdescr" />
</html:select>
 
I pass "ethncityArray", which is an array of TranslateItem beans, to this page via the request.  The problem i have is that when the validate method is called when i hit submit and an error occurs, it goes back to the jsp but the jsp can no longer find "ethnicityArray".  Subsequently an error is thrown.  Does anyone know how i can fix this, aside from putting it in the session?
 
cameron

Reply via email to