File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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 and

George Franciscus<br /><br /><a href="" target="_blank" rel="nofollow"></a><br /><a href="" target="_blank" rel="nofollow"></a>
It is sorta covered in the JavaRanch Style Guide.
subject: controller