struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli" <antonio.petre...@gmail.com>
Subject Re: how to init action form when session expires
Date Wed, 29 Aug 2007 13:33:30 GMT
Sending the same email 4 times does not help getting an answer...

Antonio

2007/8/29, Randy Jonasz <rjonasz@gmail.com>:
>
> 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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message