You're not specifying the form name in your action definitions. Not sure which action you're attempting to call, but add name="yourFormName" to that action.
> -----Original Message----- > From: Chris Pat [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 27, 2005 3:38 PM > To: Struts Users Mailing List > Subject: Re: newbie...but not stupid...so I thought > > Hi Dave > I second your analogies, grin. > The NPE is happening on the first cast. Everything > else looks fine. The fb is standard set/get made by > JB05 wizard and looks normal. The struts-config has > all the proper syntax for the required elements but in > weird order, but there. Here it is. I am nonplused. > > ?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE struts-config PUBLIC "-//Apache Software > Foundation//DTD Struts Configuration 1.1//EN" > "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"> > <struts-config> > <form-beans> > <form-bean name="header1" > type="min03.forms.header1" /> > <form-bean name="header1Form" > type="min03.forms.header1Form" /> > </form-beans> > <action-mappings> > <action input="/header1.jsp" path="/add1Action" > scope="session" type="min03.actions.add1Action" /> > <action path="/delete1Action" scope="session" > type="min03.actions.delete1Action" /> > <action input="/header1.jsp" name="header1" > path="/header1Action" scope="session" > type="min03.actions.header1Action"> > <forward name="search" path="/search1Action.do" > /> > </action> > <action path="/listAll1Action" scope="session" > type="min03.actions.listAll1Action" /> > <action input="/header1.jsp" path="/search1Action" > scope="session" type="min03.actions.search1Action"> > <forward name="results" path="/result_list1.jsp" > /> > </action> > </action-mappings> > </struts-config> > > > > --- Dave Newton <[EMAIL PROTECTED]> wrote: > > > Chris Pat wrote: > > > > >That is just a leftover. The retrieved form value > > is > > >from the fast of the passed in form bean. > > > > > > > > Yeah, but where is the NPE happenning? > > > > What does the ActionForm look like? > > > > What does the struts config look like? > > > > It's "fastiduous" because non-fastiduous webapps > > rarely work. Maybe you > > meant "irritating and repetitive?" > > > > That's because Java and XML is like crack for people > > that like to type ;) > > > > Dave > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > > > ____________________________________________________ > Start your day with Yahoo! - make it your home page > http://www.yahoo.com/r/hs > > > --------------------------------------------------------------------- > 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]