Struts is a MVC framework implemented on the basis of JSP Model2, which is mainly divided into three parts: model (Model), view (Viewer) and controller (Controller). Its main design idea is to decoupling presentation logic and business logic through the controller in order to improve the maintainability, scalability and reusability of the system.