I have a dynamic form which has a series textfield.
the name of the textfields like "text1", "text2", "text3",.. ,etc.
I am not sure how many textfields do i have. (as they looped from sql)
I use strut form bean, I have no idea about how to get these kind of textfield value.
private String text1;
private String text2;
pls help, thanks
You should use a mapped form or indexed form:
There is lots of information on the web for this topic.
Here's three articles that should help you understand DynaForms better:
And here's something you might find interesting if you ever need it: