It was initialized when JSP was prepared, then response was returned to the browser. If you use formbean with request scope, it is gone. When you hit the submit button, you initiate new request, it which the form is recreated, and this field may not be initialized.
So, the fact that you were able to render a page means nothing, if you use request scope for formbean. Use session scope or reinitialize formbean each time. Caution: if you use request scope, then reset() may be not called (not sure on that), so initialize the form in the consructor. Michael. On 9/9/05, Wiebe de Jong <[EMAIL PROTECTED]> wrote: > Michael, > > The collection was initialized. In fact, it had several items in it and the > form had successfully displayed, as I mentioned. > > The error occurs when I hit the submit button, whether I changed any values > or not. > >> <nested:iterate property="items" >> ... >> IndexOutOfBoundsException: Index: 0, Size: 0 >> ... >> private Collection items; <--- null --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]