Web tier: servlets, JSP, Web frameworks: Spring MVC: One Controller class per UI functionality?
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)?
- Posted by: Ben Knight
- Posted on: July 23 2005 08:20 EDT
Thanks in advance.
If you think the operations drop in one category, you can use MultiActionController. The different operation will call different method in this controller.