How to explain struts work flow
Answer Posted / mairaj
1) The request received by hte ActionServlet which is the
default Controller in Struts...
2)ActionServlet then call RequestProcesser.preProcess
method to find the formbean populate the value to it
validate the values..
3)Once the validating has finished the ActionServlet's
RequestProcesser.preProcess() method call Action class's
execute method where the original business processing
begins....
4)The action class process the method and reurns the result
to ActionServlet.....
5)In returning the Action class provides the key to the
corresponding ActionServlet to determine the reult acqiured
fromprocessing will be diplayed...
6)The ActionServlet then display results to client using
the key provided by the action class..
Hope You understand well..!!
| Is This Answer Correct ? | 16 Yes | 10 No |
Post New Answer View All Answers
What configuration changes are required to use Tiles in Struts?
Which configuration file is used for storing jsp configuration information in struts?
What does it cost to replace struts?
In how many ways duplicate form submission can occurs?
Who makes the struts?
Does Struts2 action and interceptors are thread safe?
What is the purpose of @results?
Why do we use struts?
What is the purpose of @doublerangefieldvalidator annotation?
What do you mean by tiles in struts?
What is the purpose of @requiredstringvalidator annotation?
What is the purpose of @result?
What is validate() and reset() functions?
What inbuilt themes are provided by struts2?
Why are springs better than struts?