Thymeleaf 模板引擎
1.在Thymeleaf标准表达式语法中,属于变量表达式的为A
${…}
{…}
#{…}
~{…}
2.在Thymeleaf标准表达式语法中,属于片段表达式的为C
${…}
{…}
#{…}
~{…}
3.在Thymeleaf标准表达式语法中,属于选择表达式的为B
${…}
{…}
@{…}
~{…}
4.以下使用表达式预处理的方式正确的是D
#{selection.${sel.code}}
#{selection.{sel.code}}
#{selection.sel.code}
#{selection.${sel.code}}
*5.
Welcome everyone!
在以上代码中如果msg.welcome的值为’hello’,那么p标签中显示的内容为BWelcome everyone!
hello
hello everyone!
#{msg.welcome}


