OK, this sounds good. I hope i can explain what i mean...
If i use the usual methods of my request object in a
servlet (for example getParameterValuse() or getParameterMap()) to retrieve form data within a HTML table of text input fields the bottom line is i will get String arrays for each table column containing the values of this column for all rows, right?
Then (at least in my understanding) i have to manage two things. First i have to identify which table row of input fields corresponds to which Java bean object in my collection so that the correct properties of the correct bean get updated.
Second i have to cast each parameter value to the right type of a bean property because i only have an array of Strings.
Of course this is a way to do this but i can imagine there's a more elegant way to achieve this in JSPs oder servlets. Just a simple solution like using EL or the <
jsp:useBean> tag to get a collection of Java beans INTO my table or input fields.
I hope now it's a bit clearer what my problem is. I'm just searching for a better solution to this problem.
Marco