wood burning stoves 2.0
The moose likes Struts and the fly likes controller Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "controller" Watch "controller" New topic


thomas wilson

Joined: Sep 21, 2004
Posts: 24
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
George Franciscus
Ranch Hand

Joined: Jan 25, 2005
Posts: 32
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

George Franciscus<br />george.franciscus@nexcel.ca<br /><a href="http://www.nexcel.ca" target="_blank" rel="nofollow">http://www.nexcel.ca</a><br /><a href="http://www.manning.com/franciscus" target="_blank" rel="nofollow">http://www.manning.com/franciscus</a>
subject: controller
It's not a secret anymore!