Many of you are new to Java and confused. Let me briefly comb through the backend framework, hoping you can have a clear understanding of Java.
Java is a pure object-oriented programming language and one of the three major programming languages. Java was developed by Sun in 1995 and is called “Compile once, work everywhere”.
Struts role in the project
Struts mainly plays a controlling role in the project. As long as it is used in the Web layer (namely the view layer and the control layer), Struts itself is realized by using the typical MVC structure. After using Struts in the project, the project is also an MVC structure, making the project structure clearer and the division of labor more detailed. Struts is mainly responsible for the view layer and control layer in the project, and provides a large number of tag libraries in the view layer to improve the development speed of the view layer. In the control layer, the central controller (Actionsupport) and configuration file (struts.xml) are used to intercept user requests, encapsulate request parameters and navigate pages.
Spring’s role in the project
Spring is a fully integrated framework