Posted on 2012-08-15
I was reading about struts as follows. I was not clear on these statements.
request sent from the browser do not contain any data, then no need
to write formbean, action class. We just have to define an action mapping in the
configuration file with information sufficient for the controller to take care of the
>>>How we send browser request without any data
request does include data, then we must write an action class.
>>>How to send request with data without HTML form
If the data comes by submitting a HTML form, then we also need to write a formbean class.
>>> why we need formbean if data comes from HTML form
Otherwise, no form bean is required.
>>> What is this scenario
Any ideas, suggestions, sample code, links, source code highly appreciated. Thanks in advance