File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes MVC-Central controller help needed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "MVC-Central controller help needed" Watch "MVC-Central controller help needed" New topic
Author

MVC-Central controller help needed

vidya vani
Greenhorn

Joined: Jan 11, 2008
Posts: 3
Hi
Can any one explain me what is the central controller in Model-View-Controller design pattern...
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61413
    
  67

I'm not sure what you mean by central controller. Did you mean front controller?

In any case, perhaps this article might help.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Naresh Talluri
Ranch Hand

Joined: Oct 12, 2007
Posts: 115
Originally posted by Bear Bibeault:
I'm not sure what you mean by central controller. Did you mean front controller?

In any case, perhaps this article might help.


I Think you had asked about the servlet conttroller,
In MVC Pattern the controller is Servlet, if any request comes from
client first it hits the servlet controller after that it will navigate
to JSP's
Kumar Garlapati
Ranch Hand

Joined: Feb 04, 2008
Posts: 38
If you mean it as a Controller in MVC, it's a central part of the MVC architechture, which gets the request from client, find out which Model(Business Logic) to process the request and in return it finds out which JSP has to be returned. if any error/exception occurs it forwards to error.jsp(example) else it forwards to appropriate JSP(View). Hope this explaination helps you. this you can get in google as well or in anybook.

what you exactly mean by central in you question.


Regards,<br />Kumar
vidya vani
Greenhorn

Joined: Jan 11, 2008
Posts: 3
Hi
Thankyou for the detail regarding the central controller.
But in MVC architecture there will be a servlet controller which contains helper classes.Now how should i have to make the servlet controller using Map classes.
Please anyone can help me
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MVC-Central controller help needed