posted 17 years ago
I see this option correct.
1- In the scriptlet you created one ArrayList object, added objects
to it.
2- You added this ArrayList object as request scoped attribute.
3- Another request scoped attribute is listIdx, whose value is 1.
[listIdx+1]-> first listIdx will be searched following the search order,
then arithmetic add operation will be done, result list[2] and you get
"c" as a result.
Thanks,