Javaweb JSP objects

Source: Internet
Author: User

Built-in objects for JSPs:

Objects that can be used directly when programming JSP pages without declaring these objects


In the Request:httpservletrequest class, used to obtain the requested information


In the Response:httpservletresponse class, used to get the response information


Web application running environment in Application:servletcontext


Used in Config:servletconfig to get servlet initialization parameters


An object in session:httpsession to hold each user's information


After the page:jsp is translated into a. java file, the created bytecode object


Out:jspwriter used to output data to the browser


The pagecontext:pagecontext represents the current JSP content context object.


Exception: Exception object, encapsulating exception information, calling when exception occurs


Javaweb JSP objects

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.