JSP basic Syntax (chapter summary)

Source: Internet
Author: User
1, the JSP is divided into 3 kinds of script,<%!%>,<%%> and <%=%>.


2, try to use expression output (<%=%>) instead of OUT.PRINTLN () syntax in development.


3, using the page directive, you can set the operation properties of a webpage, such as MIME type, display encoding, guide package operation, etc.


4,JSP contains statements in two categories, one is static, the other is dynamic, and static contains a post-processing, and dynamic inclusion belongs to the first process.


5, the use of <jsp:forward> can perform jump operation, the address bar after the jump does not change, so is the server-side jump, this statement is a label directive, the label directive in the end must have the end.


6, in the development of as far as possible to write dynamic pages and static pages, so that the program can improve the speed of operation.

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.