Nine large built-in objects are
- Page
- Request
- Response
- Session
- exception
- Config
- Application
- Out
- PageContext
No |
built-in objects |
type |
1 |
Page |
Java.lang.Object |
2 |
Request |
Javax.servlet.http.HttpServletRequest |
3 |
Response |
Javax.servlet.http.HttpServletResponse |
4 |
Session |
Javax.servlet.http.HttpSession |
5 |
exception |
Java.lang.Throwable |
6 |
Config |
Javax.servlet.ServletConfig |
7 |
Application |
Javax.servlet.ServletContext |
8 |
Out |
Javax.servlet.jsp.JspWriter |
9 |
PageContext |
Javax.servlet.jsp.PageContext |
ServletConfig in the servlet configuration file, Web. XML, you can configure some initialization parameters for the servlet using one or more <init-param> tags
You can get the initialization parameters of the servlet
ServletContext : When the Web container starts, it creates a corresponding ServletContext object for each Web application that represents the current Web application
You can get the initialization parameters of the servlet application
Javaweb in JSP nine large built-in objects and four scopes