WEBX START Process

Source: Internet
Author: User

Because the listener is set up, first enter Com.alibaba.citrus.webx.context.WebxContextLoaderListener when the project starts, and this class inherits from Contextloaderlistener. So first run the Webxcontextloaderlistener contextinitialized method.
Createcontextloader () is a very important process and the rest of the work is completed 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 the refresh has finished running. 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 only with the servlet, and use this object to access the spring Container-managed bean.

It also complements some of the servlet-related content.


A servlet is equivalent to executing Java code on the Web side.

The servlet container dynamically loads the servlet into the server. The HTTP servlet interacts with the client using HTTP request and HTTP response headers. Configuring a servlet requires the configuration of two tags, the first <servlet> and the other is <servlet-mapping> This is similar to filter.



WEBX START Process

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.