what is the difference between frontcontroller and actionservlet?
2 Answer(s)      8 years ago
Posted in : Struts


View Answers

September 26, 2008 at 11:03 PM

frontcontroller or ActionServelt or preprocessor all are same,because ActionServelt is one which is the Controller in Struts based Application

September 27, 2008 at 6:30 PM

ActionServlet of Struts is part of Controller components which works as front controller to handle all the requests.

ActionServlet provides the "controller" in the Model-View-Controller (MVC) design pattern for web applications that is commonly known as "Model 2". It is backbone of struts application.It is used as controller to control .There can be only one ActionServlet defined for a context. ActionServlet is defined in web.xml file of a context e.g. WEB-INF/web.xml


Related Tutorials/Questions & Answers: