Hi, I am using struts 2.0.11. I am using <s:select> tag, struts is populating the list box correctly for all the time, except when the validation error occurs for any other field.
My issue is: When I first enter into the page, I am able to get the dropdown value, When I submit the page with out entering some mandatory fields, the list box is cleared, Once I enter all the mandatory fields and submit the page, I can able to get the values in list box.(but now it is not showing the selected value in dropdown, instead it is showing 'Please select') . I want the list box to be populated even if validation error occurs.... Kindly help me.... Thanks in advance..... Thanks, Sheeva