Summary

The Struts framework provides an implementation for the MVC structure, tailored for a web application. The Struts ActionServlet, RequestProcessor, and Action classes provide the controller components; the Action communicates with your application’s model components; and the combination of the ActionForm, DTOs, JSP pages, and tag libraries make up the view.

This chapter focused on Struts at a high level and left out many of the details that make the framework even better. Struts, like other valuable software frameworks, allows you to focus on developing the business logic, instead of spending expensive development time on low-level infrastructure functionality such as request dispatching and field-level validation. Hopefully, this peripheral discussion has enticed you to read on and explore the framework details in the rest of the book.

Get Programming Jakarta Struts, Second Edition 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.