0

In Jsf FacesServlet works as a controller. I want to know what infact is controller in spring mvc is it dispatcherservlet or the class annotated as @controller?

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
  • 1
    It depends on point of view. This JSF-targeted answer also applies to Spring MVC: http://stackoverflow.com/q/5104094 – BalusC Aug 10 '16 at 07:09
  • in reality in spring mvc we have only one controller and it is DispacherServlet and the classes annotated @Controller are just normal classes. – Mohamed Nabli Aug 10 '16 at 07:43

0 Answers0