| 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: 56150
|
|
I'm not sure what you mean by central controller. Did you mean front controller? In any case, perhaps this article might help.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About 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
|
 |
 |
|
|
subject: MVC-Central controller help needed
|
|
|