RE: Adding items to a vector of formbean in the jsp

2004-01-05 Thread Yee, Richard K,,DMDCWEST
Paulo, The problem is that Vectors or Arrays are not created and sized for you automatically. When your form is submitted, the populate() method attempts to set the Vector element of new element which is beyond the size of your vector. To fix this problem, you can either size the Vector with empty

RE: Adding items to a vector of formbean in the jsp

2004-01-05 Thread Robert Taylor
Look at ListUtils.lazyList() http://jakarta.apache.org/commons/collections/api/org/apache/commons/collect ions/ListUtils.html#lazyList(java.util.List,%20org.apache.commons.collection s.Factory) robert > -Original Message- > From: Paulo Rezende [mailto:[EMAIL PROTECTED] > Sent: Monday, Jan