JSP Learning Notes 2
2015-08-30 15:09
716 查看
Comments
Html Comments
-
-If you want to check the content within the html comment characters, you need right-click on the page you opened and then choose inspect elements.
-Using html comments is not safe, because users can see the code 100%, and then they can understand fully though.
JSP Comments
-
-Existing in the server side, would not be sent to client side.
Java Comments
You can use java type comments whenever you want, because it fully support java grammar.
The content of this blog is summarized from jikexueyuan JSP courses.
Html Comments
-
<!--and
-->
-If you want to check the content within the html comment characters, you need right-click on the page you opened and then choose inspect elements.
-Using html comments is not safe, because users can see the code 100%, and then they can understand fully though.
JSP Comments
-
<%--and
--%>
-Existing in the server side, would not be sent to client side.
Java Comments
You can use java type comments whenever you want, because it fully support java grammar.
The content of this blog is summarized from jikexueyuan JSP courses.
相关文章推荐
- JavaScript内核笔记08-函数式编程
- javascript中sort() 方法使用详解
- JS对象,以及对应方法
- Winform控件WebBrowser与JS脚本交互
- JS事件
- JS函数的调用
- js判断文件大小
- JS数组
- JavaScript内核笔记07-面向对象
- js闭包
- jstack 使用
- JavaScript设计模式——前奏
- js判断undefined类型
- javascript中的正则表达式使用详解
- JavaScript常用语句
- JSP的静态包含和动态包含
- JS对象的写法
- (原生js)点击body隐藏div,但若点击的是指定的位置则不隐藏
- 【JS/读书随笔】JavaScript编程精解/Eloquent JavaScript:Chapter 11 浏览器事件
- 已有 JS 模块化和打包方案收集