(staff) 2015-11-11 Week 3rd Log

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.