Web tier: servlets, JSP, Web frameworks: Spring MVC: One Controller class per UI functionality?

  1. Hello. If I have a CRUD type screen (Add, Edit, Delete), should I have one controller for the entire screen or one controller per button/functionality (i.e. Add, Edit, Delete)?

    Thanks in advance.
  2. MultiActionController[ Go to top ]

    If you think the operations drop in one category, you can use MultiActionController. The different operation will call different method in this controller.