I am using an architecture similar to the Struts architecture (http://jakarta.apache.org/struts
/). When I designed our current architecture, I wasn't aware of the Struts architecture (mine was designed from the traditional MVC), and just wanted to discuss a few difference I have found.
We have a central servlet Controller, that forwards control to a class (RequestHandler) based on the request URL. This does processing if required, and talks to the Model for actions such as updating data in the database. This is fairly similar to Struts. At the end of the processing it returns a URL of a JSP page, and the controller forwards to that.
Now this is where our architecture seems to differ. Our JSP pages all have page beans associated with them, and page beans also interacts with the Model as required, for example for pulling data from the database.
The traditional MVC architecture allows both Views and Controllers to interact with the Model, but the Struts architecture (seems to me) to only have the Controller interacting with the Model.
Could someone please comment, have I got this incorrect? Am I breaking the design of MVC by having Views interact with the Model?