Struts follows MVC architecture and has many design patterns which it uses inside(ex Frontcontroller,Value Objects).First it maps incoming path with path attribute of ActionMapping in struts-config.xml file and finds appropriate Action class for the request and maps the name attribute of ActionMapping with that of FormBeans tag. Then finds appropriate ActionForm for the request. Then it calls Validate() method of ActionForm if required.If there are no validation errors then Action class is called.Here business Logic starts and results are returned to the controller which presents in the appropriate View.
Category:Servlet Interview Questions
No comments:
Post a Comment