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 is the purpose of @expressionvalidator annotation?
What is DynaActionForm?
What are the bundled validators?
What’s the difference between struts and espresso?
How to explain Software Bank Loan descriptions
What is token used for?
How is declarative handling of exceptions done in struts ?
What is defeult result type?
Explain about token feature in struts?
What is request processor and how does it relates to action mapping?
How to upload struts file?
What does apache struts do?
Why was reload removed from struts (since 1.1)?
In struts.xml, what does the attribute "method" stands for in the "action" tag?
What is the purpose of @emailvalidator annotation?