Re: Accessing User input in execute ( ) method

2010-09-29 Thread hareendra seneviratne
:24 AM, 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

Accessing User input in execute ( ) method

2010-09-27 Thread hareendra seneviratne
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

Re: Accessing User input in execute ( ) method

2010-09-27 Thread hareendra seneviratne
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 hareend