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.
Discussions
Web tier: servlets, JSP, Web frameworks: Spring MVC: One Controller class per UI functionality?
-
Spring MVC: One Controller class per UI functionality? (1 messages)
- Posted by: Ben Knight
- Posted on: July 23 2005 08:20 EDT
Threaded Messages (1)
- MultiActionController by Cliff Liang on July 28 2005 05:25 EDT
-
MultiActionController[ Go to top ]
- Posted by: Cliff Liang
- Posted on: July 28 2005 05:25 EDT
- in response to Ben Knight
If you think the operations drop in one category, you can use MultiActionController. The different operation will call different method in this controller.