update: 更新 beetl 的 demo 示例

This commit is contained in:
thomas yang 2020-03-29 16:42:32 +09:00
parent 543290fbe3
commit 517486fd5e
3 changed files with 8 additions and 8 deletions

View File

@ -24,14 +24,9 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</dependency>
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-runtime</artifactId>
<version>4.5</version>
</dependency>
<dependency>
<groupId>org.nutz</groupId>
<artifactId>nutzboot-starter-shiro</artifactId>
</dependency>
</dependencies>
</project>
</project>

View File

@ -1,2 +1,6 @@
server.port=8080
server.host=0.0.0.0
server.host=0.0.0.0
beetl.DELIMITER_PLACEHOLDER_START2=<%=
beetl.DELIMITER_PLACEHOLDER_END2=%>
beetl.DELIMITER_STATEMENT_START2=<%
beetl.DELIMITER_STATEMENT_END2=%>

View File

@ -10,7 +10,8 @@
</div>
<div>
<h2>From Action name=${obj.name}, age=${obj.age}</h2>
<h2>From Action name=<%= obj.name %>, age=<%= obj.age %></h2>
</div>
</body>
</html>
</html>