thymeleaf中th:text和th:utext的区别

th:text 1.能够对表达式或变量进行求值 2.用“+”符号可进行文本链接 3.当获取后端传来的参数时,若后端有标签,如:html @RequestMapping("/") public String aa(Model model) { String msg = "<h1>啦啦啦</h1>"; model.addAttribute("msg", msg); return
相关文章
相关标签/搜索