> -----Original Message----- > From: Matt Bathje [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 2:38 PM > To: Struts Users Mailing List > Subject: Re: [SOLVED]Cannot retrieve definition for form bean null > > > Jim Barrows wrote: > > > <snip> > > > > > > > > Not the form bean class... The action definition in struts-config. > > <action path="/borrowerInfo" > > name="yourFormName" > <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<need this!!!!!!! > > type="com.sssc.csr.web.actions.ShowBorrowerAction"> > > <forward name="success" > path="borrowerInfo"></forward> > > </action> > > You have to tell the action definition what form your > using, regardless of whether it is DynaForm, ValidatorForm or > ActionForm. > > When one of the <html: tags gets executed it looks for the > <html:form tag, grabs the action and then looks in > struts-config for the form name THEN it creates the tag. You > don't have a name parameter, so it's saying that it's null. > > > > > > > >> > > Jim - doesn't she have this correct already? Based on what I > see here I > think so:
Last time I saw her code, no she didn't have the name...in a message I posted to her I added that line right about where that one is... If she does have that, then yes, there is another issue. > > > <snip> > > >>>>>>> > >>>>>>> <action > >>>>>>> path="/message/SendMessage" > >>>>>>> type="org.dhsinfo.message.SendMessage" > >>>>>>> name="messageForm" > >>>>>>> scope="request" > >>>>>>> validate="false" > >>>>>>> input=".message.Form"> > >>>>>>> <forward > >>>>>>> name="success" > >>>>>>> > >>>>>>>path="/confirmation/messageForwarded.jsp"/> > >>>>>>> </action> > >>>>>>> > > > <snip> > > --------------------------------------------------------------------- > 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]