struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Natalie D Rassmann <natalie.d.rassm...@lmco.com>
Subject Re: DynaValidator Form is Null
Date Tue, 17 Jun 2003 11:24:10 GMT
Sorry, that line isn't throwing the null pointer exception.  It is
returning a null as the form.  The line throwing the null pointer
exception is
reviewRecordForm.set( "dispatchAction", "createPeerRec" );

Gemes Tibor wrote:

> Natalie D Rassmann írta:
>
> >I am getting a null pointer exception on the following line:
> >
> > DynaActionForm reviewRecordForm = (DynaActionForm)form;
> >
> >
> This line could not throw NPE.
> The proper way of retrieving the values stored in dyna form
> is via beanutils package eg PropertyUtils.getProperty(form, "prop");
>
> Tib
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org

Mime
View raw message