Reinhard
Ben Anderson wrote:
I had trouble with this as well. Hopefully, the answer you're looking for was as simple as the one I was. The action is looking for a form and can't find it. Make sure you are submitting the form from the jsp page its coming from? If not, you'll need to add the form somewhere in the action.
-Ben Anderson
From: Natalie D Rassmann <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: DynaValidator Form is Null Date: Tue, 17 Jun 2003 07:24:10 -0400
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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]