Hi Dave That is just a leftover. The retrieved form value is from the fast of the passed in form bean.
--- Dave Newton <[EMAIL PROTECTED]> wrote: > Chris Pat wrote: > > > header1Form header1Form_ = (header1Form) > form; > > String queryString = > ((header1Form)form).getQuery(); > > String animalType = > ((header1Form)form).getAnimalType(); > > > > > Where is the NPE happening? Is form null? Is the NPE > in the getters? > Kinda hard to say from this. > > > min01Form min01Form_ = (min01Form)form; > > String fromAction = > ((min01Form)form).getSample().toUpperCase(); > > > > > Why do you create a casted 'form' then recast 'form' > each time you > retrieve a form value? > > Dave > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]