Today we are mainly looking at the contents of Struts2
To understand the basics of strut2.
1.struts is an MVC-based Web development framework
2.MVC: Is the model, View, controller of the three English words abbreviation.
The "Model" represents the business logic of this component implemented by Java. "View" represents the interface,
"Controller" represents the process of process control, the main function is to implement the business logic and the presentation of the interface associated with the technology
3. The initial development model is directly in the JSP to write logic, the code will be very complex, the code between the pages complex, reuse maintenance difficulties
The development pattern of MVC is to divide the program into input, processing, output three parts for processing, page display, logical control is separated from each other
They can be modified without affecting the others.
4.STRUTS2 Basic Range: Tag Library, filterdispatcher and Action, config file, validation rules, type conversion
Sitemesh page layouts, internationalization and localization.
Experience: Just contact struts, the idea of MVC is still familiar with the process of struts is not clear, the next
To be familiar with a little program.
Plan tomorrow:
Keep watching struts2, do a little demo.
(staff) 2015-11-11 Week 3rd Log