What is Controller in MVC ?
Is it struts.xml
or Servlet
(Action Class)?
Can we have more than one Controller
in our ap
A Struts-based Controller is a "component"
consisting of many parts. Custom Action classes
are written by application developers. Struts ActionServlet
is provided by the framework. A struts-config.xml
configuration file is written by application developers. The code that reads this file and creates Action** objects is provided by the framework. All of these elements together are the "Controller"
For more information about the Struts Action package, see API docs below:
http://struts.apache.org/1.x/apidocs/org/apache/st...ts/action/package-summary.html