Latest Tutorials| Questions and Answers|Ask Questions?|Site Map

Home Answers Viewqa Struts what is the difference between frontcontroller and actionservlet?

View Questions and Answers by Category


Have Programming Question? Ask it here!

what is the difference between frontcontroller and actionservlet?
2 Answer(s)      6 years and 6 months 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: