1. request comes.
2. corrosponding action class will be searched in the struts.xml
3. mapped form-bean will be populated with data.
4. execute method of mapped action servlet will be executed and result will be mapped in struts.xml with
5. mapped jsp/html page with forward will be displayed.
-----------------------------------------------------------
1) The request received by the 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 result acqiured from processing will be diplayed...
6)The ActionServlet then display results to client using the key provided by the action class..
No comments:
Post a Comment