• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

controller

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I am not mistaken, MVC pattern states that it's good to have only 1 servlet as the controller. Does Struts violate this? Thank you
 
author
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts has just one Servlet - the ActionServlet. However, most of the heavy lifting is done by the RequestProcessor. You can read all about it at http://struts.apache.org/userGuide/introduction.html and http://struts.apache.org/userGuide/building_controller.html
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic