JSP Basic Learning (iii) how----JSP works

Source: Internet
Author: User
How the JSP works

Executing JSP code requires the JSP engine to be installed on the server, comparing common engines such as Tomcat. After you have configured these JSP-enabled Web servers, you can then access the JSP pages through the browser.
Most of the work of JSP is to interact with the client.
(1) The server will first parse the request after it receives a request, if the requested page is just a generic HTML page, the server reads the HTML page directly and returns it to the client.
(2) If the client requests a JSP page, the server invokes the JSP engine to translate the requested JSP page and returns the translated and processed HTML back to the client.
(3) If the JavaBeans component is encountered, the JSP engine invokes the corresponding JavaBeans component, obtains the JavaBeans return value, and returns to the JSP page.

JSP Basic Learning (iii) how----JSP works

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.