Hi All
The business requirement on the project which I am currently working on is such that until runtime I don't know that exact # of TextField in
JSP page. The
Struts requirement is such that you need to declare a attribute in formbean corresponding to each form field in JSP. How can we take care of this requirement of variable number of a form field say TextField in JSP page.
I am thinking of a solution in terms of declaring all the TextField in JSP with the same name say 'textfield' and corresponding attribute in the form bean as
String[] textfield ? Is it a limitation in Struts that we can't have variable number of form fields in a JSP or it is already taken care of latest version of Struts. I have gone thorugh the Struts user guide but nowhere I find sufficent documentation which address this particular situation.
Thanks in advance
Ravindra
SCJP, SCJD, SCWCD, SCBCD, SCEA