JSP annotations and character reference conventions

Source: Internet
Author: User
Tags reference
JS below are some special tags or characters that you can use to insert notes or characters that may be considered to have special meanings. Grammatical use
<%--Comment--%> jsp annotations, also known as "hidden annotations." The JSP engine ignores it. All JSP script elements, directives, and actions within the tag will not work.
The!--comment--> html annotations, also known as "output annotations," appear directly in the resulting HTML document. All JSP script elements, instructions, and actions within the tag are performed correctly.
<\% in the template text (static HTML) where you actually want the "<%" to appear.
%\> in the script element where you actually want the "%>" to appear.
\ ' Use single quotes within the properties of single quotes. However, you can use either single or double quotes, while another one will have a common meaning.
\ "Use double quotes within the properties of double quotes." See the description of "\".

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.