WEBX START Process

Source: Internet
Author: User

Because the listener is set up, So at the start of the project first enter Com.alibaba.citrus.webx.context.WebxContextLoaderListener, this class inherits from Contextloaderlistener, so first execute Webxcontextloaderl The Contextinitialized method of Istener.
Createcontextloader () is a very important process and the rest of the work is done by Contextloader.
Createcontextloader () was rewritten in WEBX to extend the ability to load components in addition to having the original load Web application session.
After refresh execution is complete, all web App sessions and spring container initialization is complete.
The Webapplicationcontext object is placed in the properties of the ServletContext so that we can get the Webapplicationcontext object as long as the servlet is available and use this object to access the spring Container-managed bean.

It also complements some of the servlet-related content.
Servlets are equivalent to Java code running on the web side. The servlet container dynamically loads the servlet onto the server. The HTTP servlet interacts with the client using HTTP requests and HTTP response headers. Configuring a servlet requires configuring two tags, the first <servlet>, and one is <servlet-mapping>, which is very similar to filter.



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.