Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 90074 invoked from network); 29 Aug 2007 14:05:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Aug 2007 14:05:29 -0000 Received: (qmail 26248 invoked by uid 500); 29 Aug 2007 14:05:15 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 26223 invoked by uid 500); 29 Aug 2007 14:05:15 -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 26212 invoked by uid 99); 29 Aug 2007 14:05:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 07:05:15 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pavel.sapozhnikov@gmail.com designates 64.233.182.190 as permitted sender) Received: from [64.233.182.190] (HELO nf-out-0910.google.com) (64.233.182.190) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 14:05:10 +0000 Received: by nf-out-0910.google.com with SMTP id b21so151012nfd for ; Wed, 29 Aug 2007 07:04:49 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=OhmdKKPU9bnypbaPYOqUzlT80SAA60cE89e0ag1Y4l6id3LpwfDGb1SNEa3j9p7jSjaI3qaQP+wF1Ii4F94Df59btok4Bk4gyGjY4879WhGPJcFy1/DIcYkNk0cYowqlIVZczbrgkYkqDJvOevwGNdYExLEo09Wh3XEIUNkt1Oo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=g4VOHV6WSQ0kOWjddL3FL7a2HOSIu2Coh2omgkw8BPid9gwivuTvdo4L5zBDb0zVwSEk6CDJ2pG5gPVF4nW1U+LKyrlORcX5O5JITuMAYlphsDKMNaPz8wwY/mqDa9qUEh+0skWLOqjjSelZ3TBIfXZEtc68PISBw/S9RueLCwc= Received: by 10.82.181.10 with SMTP id d10mr1440317buf.1188396288275; Wed, 29 Aug 2007 07:04:48 -0700 (PDT) Received: by 10.66.232.8 with HTTP; Wed, 29 Aug 2007 07:04:48 -0700 (PDT) Message-ID: Date: Wed, 29 Aug 2007 10:04:48 -0400 From: "Pavel Sapozhnikov" To: "Struts Users Mailing List" Subject: Re: how to init action form when session expires In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10830_32667709.1188396288229" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_10830_32667709.1188396288229 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Yea you gotta filter that stuff in your gmail.... On 8/29/07, Randy Jonasz wrote: > > oops, sorry. I kept getting errors from the mailserver so i thought > the message wasn't getting through. > > Sorry again, > > Randy > > On 8/29/07, Antonio Petrelli wrote: > > Sending the same email 4 times does not help getting an answer... > > > > Antonio > > > > 2007/8/29, Randy Jonasz : > > > > > > Hello everyone, > > > > > > I have a quick question. When the user session expires and they try > > > to submit a form to the server through an open window, I'm finding my > > > array in my action form is not being populated through the setter > > > method. In fact I'm getting the following exception > > > > > > java.lang.NullPointerException > > > at > > > org.apache.commons.beanutils.PropertyUtilsBean.getIndexedProperty( > > > PropertyUtilsBean.java:427) > > > > > > I can eliminate the exception by initializing the array in the form's > > > constructor. My question is how can I obtain the size of the array > > > dynamically? The array size is determined by the user. > > > > > > Thanks for any help, > > > > > > Randy > > > > > > -- > > > Oscar Developer > > > McMaster University > > > 75 Frid Street, Hamilton, ON > > > 905 525 9140 x27735 > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > > > For additional commands, e-mail: user-help@struts.apache.org > > > > > > > > > > > -- > Oscar Developer > McMaster University > 75 Frid Street, Hamilton, ON > 905 525 9140 x27735 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > -- Pavel Sapozhnikov xFact, Inc pavel@xfact.com ------=_Part_10830_32667709.1188396288229--