当前位置:网站首页>Nine built-in objects of JSP and four scopes of Servlet
Nine built-in objects of JSP and four scopes of Servlet
2022-06-25 20:40:00 【As high as the wind】
One 、JSP Nine built-in objects
1.request Request object type javax.servlet.ServletRequest Scope Request
2.response Corresponding object type javax.servlet.ServletResponse Scope Response
3.pageContext Page context object type javax.servlet.jsp.PageContext Scope Page
4.session Conversation object type javax.servlet.http.HttpSession Scope Session
5.application Application object type javax.servlet.ServletContext Scope Application
6.out Output object type javax.servlet.jsp.JspWriter Scope Page
7.config Configuration object type javax.servlet.ServletConfig Scope Page
8.page Page object type javax.lang.Object Scope Page
9.exception Exceptions type javax.lang.Throwable Scope Page
Two 、Servlet Four scopes
1. Scope definition : Refers to its Servlet The scope of the request and the corresponding process
2. classification :
Page Domain When one JSP page forward To another JSP, This scope does not exist
Request Domain Its scope is page refresh ( Re request )
Session Domain It refers to a conversation , Close the browser and it will not exist
Application Domain Means the whole of the works ( application ) Scope , Close the entire browser scope and it will no longer exist
3、 ... and 、 Database foundation
ACID: It means in the database management system (DBMS) The four characteristics of things in :
1.A: Atomicity (Atomicity) All operations of the whole thing , Either they all succeed , Or they all failed , If you fail , Will be rolled back (rollback) To the beginning of something
2.C: Uniformity (Consistency) Before and after the execution of things , The relevant data are consistent
3.I: Isolation, (Isolation) Before and after things executed concurrently , They don't influence each other
4.D: persistence (Durability) After the successful execution of things , The data related to the execution of this transaction will not be rolled back
边栏推荐
- Day 28/100 CI CD basic introductory concepts
- The error log of vscode connecting to the server shows the problem of "insufficient permission". Directly use root to connect
- Connect the local browser to the laboratory server through mobaxterm
- Yunzhisheng atlas supercomputing platform: computing acceleration practice based on fluid + alluxio (Part I)
- JS forest leaf node non recursive depth first postorder traversal
- Short video is just the time. How can you quickly build your video creation ability in your app?
- Redis core principle and design idea
- What is an app circle of friends advertisement
- PIP command -fatal error in launcher: unable to create process using How to resolve the error after migrating the virtual environment?
- Leetcode daily question - 27 Remove element (simple)
猜你喜欢

Redis core principle and design idea
Interviewer: why does TCP shake hands three times and break up four times? Most people can't answer!
[golang] leetcode intermediate - the kth largest element in the array &
"Space guard soldier" based on propeller -- geosynchronous geostationary orbit space target detection system

Splunk series: Splunk installation and deployment (I)

Flexible scale out: from file system to distributed file system

TypeError: __ init__ () takes 1 positional argument but 5 were given
Exploration of advanced document editor design in online Era

Teach you how to add custom controls to a map
2022 oceanbase technical essay contest officially opened | come and release your force
随机推荐
Understanding C language structure pointer
An unusual interview question: why doesn't the database connection pool adopt IO multiplexing?
Huawei HMS core launched a new member conversion & retention prediction model
Leetcode daily question - 27 Remove element (simple)
Transunet reading notes
Interface automation -md5 password encryption
Cross project measurement is a good helper for CTOs and PMOS
III Implementation principle of vector
Node installation method you don't know
Share a billing system (website) I have developed
206. reverse linked list (insert, iteration and recursion)
Pcl+vs2019 configuration and some source code test cases and demos
very good
Jmeter+grafana+influxdb build visual performance test monitoring platform (full)
MySQL lock
Record the training process
SQL statement select summary
5 minutes to learn how to install MySQL
Share several Threat Intelligence platforms
Global netizens Yuanxiao created a picture of appreciating the moon together to experience the creativity of Baidu Wenxin big model aigc