⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 e1057. commenting a jsp page.txt

📁 这里面包含了一百多个JAVA源文件
💻 TXT
字号:
Two types of comments are allowed in a JSP page - - hidden and output comments. A hidden comment will not appear in the generated output whereas an output comment will appear in the generated output. 
This example shows a hidden comment: 

    <%-- my hidden comment --%>

A restriction for hidden comments is that the comment string cannot contain the character sequence --. 
This example shows an output comment: 

    <!-- my output comment -->

Similar to hidden comments, output comments cannot contain the character sequence --. Output comments can contain dynamic content: 
    <!-- This page was generated on <%= new java.util.Date() %> -->

Output: 
    <!-- This page was generated on Wed Jun 26 10:33:27 PDT 2002 -->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -