Hi,

There is a new interface called *ActionSupport *in struts 2 you can it from
that, you just need to put
*<s:form action="summary" id="main_form" name="main_form" >* in JSP.

remember to map the action with the struts.xml. thats all you need

ie:

*<action name="summary" class="com.utc.pw.prdg.actions.PartsSearchAction"
method="performSearch">
<result name="success">/pages/ext/summary.jsp</result>
</action>*

-- 
Regards
Kushan Jayathilake

On Mon, Sep 27, 2010 at 4:54 PM, hareendra seneviratne <hareend...@gmail.com
> wrote:

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

Reply via email to