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 @urlvalidator annotation?
Explain the life cycle of a request in struct2 application?
What are the steps required for setting up validator framework in struts?
How can we display validation errors on jsp page?
What is the purpose of @createifnull annotation annotation?
What should be the name of xml file used for validation in struts?
What are the core components of a struct2 based application?
Does Struts2 action and interceptors are thread safe?
Which technologies can be used at view layer in struts?
What is front controller in struts2?
What does apache struts do?
Why actionservlet is singleton in struts?
What is dispatchaction?
Does struts include its own unit tests?
When should be opt for struts framework?