Implied objects in a JSP __jsp

Source: Internet
Author: User
Tags object object
Application Scopes
Application The Javax.servlet.ServletContext object represents the container that executes the JSP

Page Scopes
Config This Javax.servlet.ServletConfig object represents the JSP configuration option. As with the servlet, configuration items can be specified in the Web application description document
Exception the Javax.lang.Throwable object represents the exception that was submitted to the JSP error page. This object is available only in the JSP error page
Out the Javax.servlet.jsp.JspWriter object to write text, as part of the corresponding request. The object implicitly uses the JSP expression and action that inserts the contents of the string in the response.
Page The Java.lang.Object object represents a reference to the current JSP instance
PageContext the Javax.servlet.PageContext object hides the implementation details of the servlet and JSP containers, helping the JSP programmer access the implied objects discussed in this table
Response This object represents a response to a customer. This object is typically an instance of a class that implements HttpServletResponse (in the Javax.servlet.http software package). If you use a protocol other than HTTP, the object is an instance of a class that implements the Javax.servlet.ServletResponse interface

Request Scope
Request this object to represent the customer's requests. This object is typically an instance of a class that implements HttpServletRequest (in the Javax.servlet.http software package). If you use a protocol other than HTTP, the object is an instance of a class that implements the Javax.servlet.ServletRequest interface

Session scope
Session the Javax.servlet.HttpSession object represents information about the client sessions that have been created. This object is available only in the session's page
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.