diff --git a/nutzboot-demo/nutzboot-demo-simple/nutzboot-demo-simple-beetl/pom.xml b/nutzboot-demo/nutzboot-demo-simple/nutzboot-demo-simple-beetl/pom.xml index 226fe37f..44ecd9db 100644 --- a/nutzboot-demo/nutzboot-demo-simple/nutzboot-demo-simple-beetl/pom.xml +++ b/nutzboot-demo/nutzboot-demo-simple/nutzboot-demo-simple-beetl/pom.xml @@ -24,14 +24,9 @@ org.slf4j slf4j-log4j12 - - org.antlr - antlr4-runtime - 4.5 - org.nutz nutzboot-starter-shiro - \ No newline at end of file + diff --git a/nutzboot-demo/nutzboot-demo-simple/nutzboot-demo-simple-beetl/src/main/resources/application.properties b/nutzboot-demo/nutzboot-demo-simple/nutzboot-demo-simple-beetl/src/main/resources/application.properties index 08aef92d..26fe7883 100644 --- a/nutzboot-demo/nutzboot-demo-simple/nutzboot-demo-simple-beetl/src/main/resources/application.properties +++ b/nutzboot-demo/nutzboot-demo-simple/nutzboot-demo-simple-beetl/src/main/resources/application.properties @@ -1,2 +1,6 @@ server.port=8080 -server.host=0.0.0.0 \ No newline at end of file +server.host=0.0.0.0 +beetl.DELIMITER_PLACEHOLDER_START2=<%= +beetl.DELIMITER_PLACEHOLDER_END2=%> +beetl.DELIMITER_STATEMENT_START2=<% +beetl.DELIMITER_STATEMENT_END2=%> diff --git a/nutzboot-demo/nutzboot-demo-simple/nutzboot-demo-simple-beetl/src/main/resources/template/index.html b/nutzboot-demo/nutzboot-demo-simple/nutzboot-demo-simple-beetl/src/main/resources/template/index.html index d7e4a592..e28dc8b3 100644 --- a/nutzboot-demo/nutzboot-demo-simple/nutzboot-demo-simple-beetl/src/main/resources/template/index.html +++ b/nutzboot-demo/nutzboot-demo-simple/nutzboot-demo-simple-beetl/src/main/resources/template/index.html @@ -10,7 +10,8 @@

From Action name=${obj.name}, age=${obj.age}

+

From Action name=<%= obj.name %>, age=<%= obj.age %>

- \ No newline at end of file +