HTML注释(输出注释):指在客户端查看源代码时能看见注释。例如,

<!-- this is an html comment.it will show up int the response. -->

JSP页注释(隐藏注释):指注释虽然写在JSP程序中,但不会发送给客户,因此在客户端查看源代码时不能看见注释。这样的注释在JSP编译时被忽略掉。

<%--this is a JSP comment.it will only be seen in jsp code--%>

Java注释:只能出现在Java代码区中,不允许直接出现在页面中。//单行注释   /*多行注释*/

相关文章:

  • 2022-01-19
  • 2022-12-23
  • 2022-02-08
  • 2021-12-05
  • 2022-12-23
  • 2021-12-05
  • 2022-01-05
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-13
  • 2022-12-23
  • 2021-11-20
  • 2021-07-23
相关资源
相似解决方案