The class that my bean uses has an array textFields[407]. I have 407 textfields in my jsp file. I used a loop to make the textfields. So, it looks something like this:
<%for ( int i = 0; i < lineCount; i++ ) {%>
<INPUT TYPE="TEXT" NAME="textFields"+i SIZE="4" MAXLENGTH="7" VALUE=<%= transaction.getTextField(i)%>>
<%}%>
The problem lies in the NAME. What should be its syntax so i can say that I am passing the value of the ith textField in the jsp file to the ith element of the array in the bean?
Is this possible? or should I do another kind of approach?