The Struts Package
The Struts package uses three components to implement the MVC architecture. One of these, the servlet controller, is provided as part of the Struts package. The other components are implemented by the developer by extending Struts base classes. So in architectural terms, the servlet controller represents the MVC controller, JSPs or servlets may represent the MVC view, and business logic is represented using JavaBeans or various helper classes and is considered the MVC model. See Figure 33-10.
Figure 33-10. MVC with component interaction.
With Struts, the servlet controller component receives HTTP requests and routes the request ...
Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.