I have a JSP page with a table of n rows. Each row has the option of having
a dropdown list appear on that particular row. The user should have the
ability to make a selection from the drop down list and have the page change
to the correct page automatically or it can allow the user to change and
have them click on a link that passes the value of the select box as a
parameter to the proper page.
The problem is that each row CAN NOT be in it's own form. The action for
the current form is NOT the action I want the select box to use.
I can't seem to figure out how to get the value of the select box in
<form method="post" action="/index.jsp">
<td> Remove Row? </td>
<td> View Options? </td>
<td> Name </td>
<td> <input type=checkbox name='<%=rowNumber %>' value='<%=
someCheckboxValue %>'> </td>
<td> <select name=selectOptions>
<option value="option 1">option1</option>
<option value="option 2">option2</option>
<option value="option 3">option 3</option>
<td> <%= rowName %> </td>
<td colspan="3"> <input type=button name='UpdateExampleForm'