Controller in Struts

前端 未结 9 1972
滥情空心
滥情空心 2021-01-12 06:10

What is Controller in MVC ?

Is it struts.xml or Servlet (Action Class)?

Can we have more than one Controller in our ap

9条回答
  •  情书的邮戳
    2021-01-12 06:32

    The ActionServlet is the controller IMO.

    In a broader scope the ActionServlet together with the RequestProcessor and Action and the initialization info from struts-config.xml could be called the controller in a struts app.

提交回复
热议问题