# Velocity学习笔记5——VTL模板中的注释

5723人阅读 评论(0)

## This is a single line comment.

This is text that is outside the multi-line comment.
Online visitors can see it.
#*
Thus begins a multi-line comment. Online visitors won't
see this text because the Velocity Templating Engine will
ignore it.
*#
Here is text outside the multi-line comment; it is visible.

This is text that is outside the multi-line comment.
Online visitors can see it.

Here is text outside the multi-line comment; it is visible.

This text is visible. ## This text is not.
This text is visible.
This text is visible. #* This text, as part of a multi-line comment,
is not visible. This text is not visible; it is also part of the
multi-line comment. This text still not visible. *# This text is outside
the comment, so it is visible.
## This text is not visible.

This text is visible. This text is visible.
This text is visible. This text is outside
the comment, so it is visible.

#**
This is a VTL comment block and
may be used to store such information
as the document author and versioning
information:
@author
@version 5
*#
1
0

* 以上用户言论只代表其个人观点，不代表CSDN网站的观点或立场
个人资料
• 访问：51453次
• 积分：770
• 等级：
• 排名：千里之外
• 原创：15篇
• 转载：6篇
• 译文：7篇
• 评论：7条
文章分类
阅读排行
最新评论
我的其他blog