Javaweb in JSP nine large built-in objects and four scopes

Source: Internet
Author: User

Nine large built-in objects are

    1. Page
    2. Request
    3. Response
    4. Session
    5. exception
    6. Config
    7. Application
    8. Out
    9. 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

Related Article

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.