How to Use the nine basic built-in components of JSP

Source: Internet
Author: User

The basic component JSP has the following nine basic built-in components (which can correspond to the six internal components of ASP ):
Request: User-side request. This request contains the parameter string 4 from the get/POST request.

Response: response from the webpage to the client

Pagecontext: The webpage attributes are managed here

Session: the session period related to the request.

Application: servlet content being executed

Out: used to send response output

Config: servlet framework part string 7

Page: JSP page itself

Exception: For error webpages, you can use uncaptured exceptions to access the servlets that execute JSP code.

To avoid talking about too many details about the servletapi, let's examine what you can do with them: You don't have to use the formula, you can directly access the internal out object to print something to response: you do not have to directly transmit the parameter to JavaBean, you can obtain the parameter value according to the request part :. And so on. The following describes session objects.

Read full text: http://www.javah.net/JSP_JSF/20070506/795.html

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.