This assumes your form is called myForm and it has a method called "getArrayList()". It also assumes that the objects in the array list have a "getValue()" method.
I'm not clear on what you mean by "I have an ArrayList, which consists two beans".
Joined: Jul 26, 2006
I am not using a form. I have got some fields from database(resultset) which I inserted into a bean. This bean is again added to an ArrayList. I,then, placed the ArrayList in request scope. Now, I am trying to loop through the ArrayList in jsp page.
Any idea towards helping me solve this is highly appreciated.
Joined: May 05, 2006
Where "myArrayList" is the name you put the array list into request scope under, and where your array list contains objects that have a "getValue()" method.