This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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 Java Interview Guide this week in the Jobs Discussion 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>
I agree. Here's the link:
subject: controller
It's not a secret anymore!