Thanks for the reply. Sorry i am new in jsp and don't have much idea. So just let me clarify my requirment.
Say i have a program as below. Where i am having a "First.jsp" where there is an array as Match_List[5].
String[]Match_List;
Match_List[]={a,b,c,d,e};
<form name="Team_Playerdetails" method="post" action="db_Match_Edit.jsp">
<TABLE>
<% for(int j=0;j<10;j++){ %>
<TR>
<TD>
<SELECT name="Stat_Match_name">
<% for(int i=0;i<5;i++){ %>
<option>
<% out.println(Match_List[i][1]); %>
</option>
<% } %>
</SELECT>
</TD>
</TR>
<%} %>
</TABLE>
<input type="submit" name="submit" value="Add All" tabindex="10" class="button" />
</form>
Now this above form will display a same drop down lists 10 times. i want to select different options in these ten lists say like below:
List_1 Option: a
List_2 Option: d
List_3 Option: e
List_4 Option: b
List_5 Option: c
.....
List_10 Option: d
Now i need that once user click the submit butten then the variable should be moved to "db_Match_Edit.jsp". Here i will have the code to catch the value as
U_Stat_Match_name=request.getParameter("Stat_Match_name");
But since all the 10 drop down options are getting catch by same select variable name "Stat_Match_name". So on "db_Match_Edit.jsp" i am only getting the last selected option in U_Stat_Match_name.
But i need all the 10 selected options in the "db_Match_Edit.jsp" jsp in an array.
Your help will be really appreciated.