Fetch the repository succeeded.
这里是2.0版本,请访问3.0版本 https://gitee.com/xiandafu/beetl
对Beetl语法有点建议
<%%> 这种语法在JSP中很多使用 很麻烦 眼花缭乱
//在模板里
总共 ${list.~size}
<%
for(user in list){
%>
hello,${user.name};
<% } %>
建议调整方式, 减少<%%> html块的的加入让代码更加整洁提升可读性
<%
for(user in list){
htmlBlock{
<h1>hello, ${user.name}</h1>
}
```
<h1>hello, ${user.name}</h1>
```
}
%>
Sign in to comment