[JSP Learning Notes] JSP basic knowledge of data initialization, synchronization

Source: Internet
Author: User

For all of the data required by all users, and do not have to read from the database every time, only the first time to read out to memory, then create a new servlet, delete the servlet mappings all users can not access, so need to add configuration to the servlet

Indicates that the service is started and initialized

Initialization of data in Servlet init method (Doget dopost set NULL)

Foreground output Code

For changes in the data needs to be synchronized can be modified when the completion of synchronization, or synchronization can be timed.

Page Jump:

Like the data in the session.

[JSP Learning Notes] JSP basic knowledge of data initialization, synchronization

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.