Thankyou Guys for your answers,

In fact, I thought that using ActionForm isn't compulsory to inject beans
result into jsp pages.
Did that mean that I have to create an ActionForm for each Action i create
and call it in my execute method?

Kind Regards,
Hanen

On Thu, Aug 27, 2009 at 12:24 PM, Lukasz Lenart <
lukasz.len...@googlemail.com> wrote:

> 2009/8/27 Hanen Ben Rhouma <hanen...@gmail.com>:
> > <action
> >            path="/users"
> >            id="users"
> >            scope="request"
> >            name="users"
> >            type="com.myapp.struts.UsersAction"
> >            parameter="/users.jsp">
> > </action>
>
> Did you define form-bean with name "users"? Instead using name="users"
> in action is better to use name="usersForm" and define form beans as
> follow
>
> <form-beans>
>        <form-bean name="usersForm" type="org.demo.web.UsersForm"/>
> </form-beans>
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
> http://dailylog.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to