They're not equivalent types. Why are you using Struts 1, anyway? Not for a new app, I hope?
Dave On Nov 5, 2010 12:50 PM, "Abhishek Agarwal" <abhijh...@gmail.com> wrote: > Hello there. > > I am referring "Struts: complete reference", and it has been mentioned > there that in chapter 5: > > LazyDynaBean searchForm =(LazyDynaBean)form;//where form is of type > ActionForm inside the action class. > > So I get an error of "inconvertible types":LazyDynaBean and ActionForm... > > But since it was mentioned in the book, that the above is possible, I > am not understanding the reason why? Is there a solution on how to use > LazyDynaBean or should I stick to DynaActionForm? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > For additional commands, e-mail: dev-h...@struts.apache.org >