我希望将MVEL包含到另一个MVEL文件中,我尝试使用@Include,但它对我不起作用,
任何人都可以建议我如何在另一个MVEL文件中使用MVEL
这是我的代码
Dear @{FIRST_NAME},
Hello How are you??
@include('./Footer.txt')
这里Footer.txt是另一个包含示例文本的文件
Regards,
Satish
我得到的输出
Dear John
Hello How are you??
@include('../Footer.txt'),
答案 0 :(得分:0)
嘿,包含
有一些修正应该像@include{'Footer.txt'}