If they are not equivalent types, that means the text in the book is wrong.
Then, how can I use LazyDynaBean?

Yes, I am using Struts 1 for a new app. The reason being I have to work on
RAD 7.5 in future, and it seems(as I have heard the rumours) that it is not
well integrated with Struts 2. I have seen how one can use those interesting
"forward engineering" tools in RAD  for Struts 1.

Besides, I have even heard that presently in industry "Struts 1" is in most
use. So, both these reasons make studying Struts 1.x a worth shot, *I think.
*
*
*
I know it's a little cumbersome to work on an age old framework. I have
worked a little on struts 2 before, thus I know that Struts 2 is far better
especially in type conversion, form-filling and has ultimate power due to
plug-ins.

What do you say?

On Fri, Nov 5, 2010 at 11:42 PM, Dave Newton <davelnew...@gmail.com> wrote:

> 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
> >
>

Reply via email to