Struts Learning Summary

Source: Internet
Author: User

With regard to the framework of STRUTS2, he was formed by the combination of Struts1 and webwork. STRUTS2 Thread is secure

Strut2 surface is STRUT1 upgrade, the essence is webwork upgrade. Strut2 is the integration of STRUT1 and WebWork, the core is webwork.

The two foundations used by struts2:

The underlying and webwork use the Threadlocal class to provide variables, this variable can only be accessed in one thread, implemented a radish a pit, will not appear because of multiple access to modify data caused by data errors, but the disadvantage is that space consumption is very large, not suitable for high concurrency software development!

The other is that the OGNL full name is Object-graph Navigation Language ( object Graphics navigation language ); unlike El expressions, other advantages are the following, in addition to keeping El's advantages:

  • A common way to access objects
  • Ability to access static properties and static methods of a class
  • Powerful ability to manipulate collection class objects
  • Supports assignment operations and expression concatenation
  • Accessing the OGNL context and Actioncontext

Struts Learning Summary

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.