Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 30958 invoked from network); 31 Aug 2007 22:08:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Aug 2007 22:08:21 -0000 Received: (qmail 79372 invoked by uid 500); 31 Aug 2007 22:08:06 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 79325 invoked by uid 500); 31 Aug 2007 22:08:06 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 79314 invoked by uid 99); 31 Aug 2007 22:08:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2007 15:08:06 -0700 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sergio.stateri@globo.com designates 64.97.154.90 as permitted sender) Received: from [64.97.154.90] (HELO sc2.he.tucows.com) (64.97.154.90) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2007 22:09:05 +0000 Received: from [200.205.95.10] by sc2.he.tucows.com with HTTP; Fri, 31 Aug 2007 22:07:39 +0000 Date: Fri, 31 Aug 2007 19:07:39 -0300 Message-ID: <46CDBDBB00015B27@mail12.sc2.he.tucows.com> From: "Sergio Stateri Jr" Subject: filling arrays in Struts Reply-To: sergio.stateri@globo.com To: user@struts.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable X-Mailer: GloboMail X-Originating-IP: 200.205.95.10 X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I?m trying to receive a filled array of objects. In struts-config: In HTML file: When I try to submit a form with these configurations, the following exp= ection is thrown: java.lang.ArrayIndexOutOfBoundsException at java.lang.reflect.Array.get(Native Method) at org.apache.struts.action.DynaActionForm.get(DynaActionForm.java:250) at org.apache.commons.beanutils.PropertyUtilsBean.getIndexedProperty(Prop= ertyUtilsBean.java:386) . . . How can I fill an indexed java object using Struts ? thanks in advance, Sergio Stateri Jr. sergio.stateri@globo.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org