What built-in objects does JSP have? What are their roles?

Source: Internet
Author: User

Request indicates the httpservletrequest object. It contains information about browser requests and provides several useful methods for obtaining cookie, header, and session data.
Response indicates the httpservletresponse object, and provides several methods (such as cookies and header information) for setting the response sent back to the browser.
The out object is an instance of javax. jsp. jspwriter. It provides several methods for sending output results to the browser.
Pagecontext indicates a javax. servlet. jsp. pagecontext object. The attributes of a Web page. It is used to conveniently access the namespaces of various scopes and APIs of servlet-related objects. It also encapsulates common servlet-related functions.
Session indicates the javax. servlet. http. httpsession object of a request. Session can store user status information
Applicaton indicates a javax. servle. servletcontext object. This helps you find information about the servlet engine and Servlet environment. Content being executed by Servlet
Config indicates a javax. servlet. servletconfig object. This object is used to access the initialization parameters of the servlet instance.
The page JSP page itself indicates a servlet instance generated from the page

Exception for the error webpage, exceptions not captured

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.