Controller in Struts
What is Controller in MVC ?
Is it struts.xml or Servlet (Action Class)?
Can we have more than one Controller in our application?
Is it good practice to have more than one controller?
In Struts, application Controller layer code/functionality is split into two parts:
- ActionServlet with RequestHandler
- Action classes
ActionServlet acts like FrontController pattern.