struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li Ying <liying.cn.2...@gmail.com>
Subject Re: Accessing User input in execute ( ) method
Date Mon, 27 Sep 2010 12:45:15 GMT
Hi hareendra :

You  don't need an ActionForm  to capture the variables sent by client
request.

What you used to defined in ActionForm class, is now should be defined in
Action class.

You can read more detail information in
    http://struts.apache.org/2.2.1/docs/comparing-struts-1-and-2.html
    (section [Harvesting Input])
about this issue.

Hope this help you.


2010/9/27 hareendra seneviratne <hareendras@gmail.com>

> Hi all,
>
>
>
> I’m new to struts and getting to know it.
>
>
>
> Is it mandatory to have an ActionForm? Can we access the variables defined
> in *view* from *execute()* method without using an ActionForm?
>
>
>
> Thnks for ur replies   J
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message