aspose file tools*
The moose likes Struts and the fly likes MVC have how many controllers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
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
struts have more than one controller or not
spring 3
Can same command class be used by 2 different controllers?
what should a controller do??
event handling for med sized MVC app