| |
GeekInterview.com > Interview Questions > J2EE > Struts
| Print | |
Question: What is struts flow? Explain in detail
|
| October 10, 2006 17:03:36 |
#5 |
| Sankar |
Member Since: Visitor Total Comments: N/A |
RE: What is struts flow? Explain in detail |
Hi,
If the client comes to the struts application then the flow of control will be..
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..!!
Bye! |
| |
Back To Question | |