This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Struts and the fly likes MVC have how many controllers Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "MVC have how many controllers" Watch "MVC have how many controllers" New topic
Author

MVC have how many controllers

Abdul Gafoor
Greenhorn

Joined: Nov 22, 2005
Posts: 11
In a project how many Controllers is possible
I am following MVC design Pattern
but I am not using Struts .
Henry Lowell
Ranch Hand

Joined: May 29, 2006
Posts: 63
If you are not using Struts, then why did you ask in the Strust forum? This probably belongs in the Application Frameworks forum.

But to answer your question, typically an MVC web framework will have 1 single controller. It's called the Front Controller. As I mentioned in your other post about Sruts, however, arguments can be made about Action classes. And I think SpringMVC considers there "action" classes to be controllers. And some people consider JSF backing beans to be controllers.


Hank
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MVC have how many controllers
 
Similar Threads
spring 3
struts have more than one controller or not
event handling for med sized MVC app
what should a controller do??
Can same command class be used by 2 different controllers?