Khyathi please
Use Code Tags when you post a source code. You can edit your message using
button and then add code tags to it.
Your
JSP code doesn't have a closing iterator tag so I'm assuming that it ends after the table tag. Also you didn't show the form tag so I'm assuming its before the iterator tag. In that case you are generating multiple drop down boxes with the same name, so when you submit the form, there'll be multiple values sent to the server with the name setStatus. To solve your problem, you'll have to use a
String array as the setStatus property in your action. Alternatively you can move your form element inside the iterator tag, so that each select tag will be in a separate form thus when you submit, only one setStatus value will be sent to the server. In that case you'll have to change your javascript code a little. Your javascript code doesn't look too good to me anyways, why are you setting the form's action in javascript??