What happens when

(1)liste is null

or

(2)liste is filled by null element

or

(3)index accessed is out of bound?



2010/11/27 Peter Nguyen <pe...@peternguyen.id.au>:
> Li,
>
> I think the issue is here is most likely point 3. When the form is submitted, 
> I suspect struts is trying to call getListe(int) to retrieve a Personne bean 
> before calling the respective setters.
>
> So in this case, Dominque probably just needs an additional getter in the 
> action form that will return the required bean:
>
> public Personne  getListe(int i) {
>        return (Personne) liste[i];
> }
>
> Peter.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to