The ActionForm is the companion bean to the html tags. The purpose of most of the html tags is to create HTML elements that can be populated from a bean passed to the page. Any bean can be used, but ActionForm beans are the most common, since they are required for the validation phase.
If the bean to use is not specified in the html:form tag, then it looks it up from the associated ActionMapping as a default. If a bean is not specified for a particular html tag, it uses the one for the html:form as a default. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Tim Sawyer wrote: > > > >> I don't need to use an action form at all with this page. > > You do if you have a form on the page don't you? > > That's interesting.... I have a form that is only data entry. Do I have to define >an action form for this page? I will in the action that it calls when the form is >submitted, because that's where the submitted values go. > > Hmm....just thinking about this now, if I get errors and have to redisplay the form >page with errors listen, then that's maybe a reason to have the form bean there on >both actions. Is that correct? > > (Don't think this is anything to do with my current problem, as the error is the >same regardless of whether I specify a form bean or not on the action that calls the >jsp where the form is, but I'm interested!) > > ta, > > Tim. > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>