• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

MVC-Central controller help needed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
Can any one explain me what is the central controller in Model-View-Controller design pattern...
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not sure what you mean by central controller. Did you mean front controller?

In any case, perhaps this article might help.
 
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
vidya vani
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic