After looking at this method, I don't know that it will work for me: createActionForm(javax.servlet.http.HttpServletRequest request, ActionMapping mapping, ModuleConfig moduleConfig, ActionServlet servlet)
My form is not associated with a particular mapping, as I'm creating it on the fly and using it to send an e-mail message. There's got to be an easy way to do this - any examples? How do I get the mapping if the form is not associated with any actions - or even if it is? This was working great for me in 1.1b2: DynaActionForm requestForm = (DynaActionForm) DynaActionFormClass .getDynaActionFormClass(Constants.REQUEST_KEY).newInstance(); But now it's gone :( I'd love a quick HowTo for writing this same logic with Struts 1.1 b3. Thanks, Matt > -----Original Message----- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > Sent: Sunday, January 05, 2003 6:26 PM > To: Struts Developers List > Subject: RE: DynaActionFormClass.getDynaActionFormClass > > > > > On Sun, 5 Jan 2003, Matt Raible wrote: > > > Date: Sun, 5 Jan 2003 17:12:51 -0700 > > From: Matt Raible <[EMAIL PROTECTED]> > > Reply-To: Struts Developers List <[EMAIL PROTECTED]> > > To: 'Struts Developers List' <[EMAIL PROTECTED]> > > Subject: RE: DynaActionFormClass.getDynaActionFormClass > > > > Has it become as easy as: > > > > DynaActionForm myForm = new DynaActionForm(); > > > > ?? Man - that would be slick if (true)! > > > > Unfortunately, that is not technically feasible :-). > > Your best bet is the utility method > RequestUtils.createActionForm(). As an extra added > advantage, this works for either standard ActionForm beans or > DynaActionForm beans. > > > Thanks, > > > > Matt > > Craig > > > -- > To unsubscribe, e-mail: > <mailto:struts-dev-> [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]>