hi every one. I have form and in that that form some of fields values are taken from request object .
and am validating fields values using struts validate() method. once i submit form if any error in fields
validate method will throws error but the request object content is get null o list will become empty. how can i retain the request object s please help me.
<html:form action="/ext/test" >
<%if ( request.getAttribute("eirbean") != null ) {
EirBean eirbeanRequest = (EirBean) request.getAttribute("eirmbean");
typeListList = eirmbeanRequest.getType();
}%>
<hml:text name="test" />
<html:select property="Type" >
<%
if(Type!=null){
for(ArrayList<Object> type:typeListList){%>
<html:option value="<%=type.get(0).toString() %>"></html:option>
<% }
}
%>
</html:select>
</html:form>
thank you.....