Hi All,
I am populating data in drop down reading from request scope,i am doing validation of few field after submission i wont get data in drop down i am using struts and the corresponding action definition in struts-config is like
<action path="/userProcess" name="userForm"
type="com.actions.UserManagementAction"
parameter="method"
input="/views/AddUsers.jsp"
scope="request" >
<forward name="success" path="/views/User_Management.jsp" />
</action>
and the drop down listing is where $ roleNames is read from request,which fails to get populated if validation fails after submission
<select name="roleName">
<c:forEach items="${roleNames}" var="role">
<option value="${role}">${role}</option>
</c:forEach>
</select>
how should i handle this ?