Java Web Four big scopes nine built-in objects

Source: Internet
Author: User
Tags java web

When each JSP page is accessed for the first time, the Web container will give the request to the JSP engine (a Java program) to process. The JSP engine first translates the JSP into a _jspservlet (essentially a servlet) and then invokes it in the way the servlet calls.
JSP nine large implicit objects:
Request HttpServletRequest
Response HttpServletResponse
Session HttpSession
Application Servletccontext
Config ServletConfig
Exception (used in special cases)
Page this (this JSP page)
Out JspWriter (with buffered PrintWriter)
PageContext (Make common Java classes accessible to Web resources, custom tags commonly used)
4 Domain objects:
PageContext (called page field)
Request (called request domain)
Session (called Session field)
ServletContext (called application domain)

Java Web Four big scopes nine built-in objects

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.