SSH interview Issues in Java

Source: Internet
Author: User

1. Describe the STRUTS2 implementation process.

The Struts 2 framework itself can be broadly divided into 3 parts: The core controller filterdispatcher, the Business controller action, and the enterprise business logic components implemented by the user. The core controller Filterdispatcher is the foundation of the Struts 2 framework and contains the control flow and processing mechanisms within the framework. Business controller action and business logic components are required to be implemented by the user. While developing the action and business logic components, the user also needs to write the relevant configuration files for use by the core controller filterdispatcher.

The work flow of struts 2 is simpler than struts 1 and basically the same as the webwork framework, so struts 2 is the upgraded version of WebWork. The basic brief flow is as follows: 1. The client browser makes an HTTP request. 2, according to the Web. XML configuration, the request was Filterdispatcher received. 3, according to the Struts.xml configuration, find the action class and method that need to be called, and through the IOC way, the value is injected to Aciton. 4. Action invokes the business logic component to process the business logic, which includes form validation. 5, the action is completed, according to the configuration in the Struts.xml to find the corresponding result of the return, and jump to the corresponding page. 6. Returns the HTTP response to the client browser.

SSH interview Issues in Java

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.