Velocity #parse与#include区别以及权限
来源:互联网 发布:淘宝上的whoo后真吗 编辑:程序博客网 时间:2024/05/20 10:54
#include
1.可包含本地文件(不包含VTL)
2.文件内容不经过template engine处理
3.出于安全性的考虑,此文件只能位于TEMPLATE_ROOT目录下
#parse
1.可以引入包含VTL的模板
#parse("./user/b.html") 此处b.html可以包含velocity代码。
#include("./user/a.html") 此处a.html不可以包含velocity代码。
1.可包含本地文件(不包含VTL)
2.文件内容不经过template engine处理
3.出于安全性的考虑,此文件只能位于TEMPLATE_ROOT目录下
#parse
1.可以引入包含VTL的模板
2.任何模板文件只能位于TEMPLATE_ROOT目录下
#parse("./user/b.html") 此处b.html可以包含velocity代码。
#include("./user/a.html") 此处a.html不可以包含velocity代码。
阅读全文
0 0
- Velocity #parse与#include区别以及权限
- Velocity #parse与#include区别以及权限
- Velocity中#parse与#include区别
- Velocity #include/#parse/#stop指令
- Velocity使用include和parse引入外部文件
- #import 与 #include的区别,以及 @class
- #import 与 #include的区别,以及 @class
- #include与#import的区别以及@class
- #include 与#include 区别
- #include与#include区别
- include<>与include " "区别
- #include <>与#include "" 区别
- C# WEb中的html 模块化#include ("dsfga.html") 和parse 总结与区别
- Parse与Convert区别
- Parse与Convert区别
- #include<iostream>与#include<iostream.h>以及#inclue<string> 和 #include<string.h>的区别
- #include<iostream>与#include<iostream.h>以及#inclue<string> 和 #include<string.h>的区别
- #include<iostream>与#include<iostream.h>以及#inclue<string> 和 #include<string.h>的区别
- CodeForces
- android上使用RecyclerView实现顶部悬浮标题效果的Sticky Title View
- QML之TextEdit
- C++程序员必看书单
- 微信小程序智能生活小秘书开发
- Velocity #parse与#include区别以及权限
- javaweb的一些记录
- php超全局变量、魔术变量、魔术函数
- 排序算法稳定性
- mybatis二级缓存用redis实现
- Let the Balloon Rise (map)
- I
- thymeleaf常用的一些标签属性
- WAS常用语句