thymeleaf
haillkcsdn
这个作者很懒,什么都没留下…
展开
-
thymeleaf
在这里插入代码片 <h1 th:utext="#{hello.welcome(${session.s1},${session.s2})}">12</h1> utext//非转义 ${x} 会返回存储在Thymeleaf上下文里的变量 x ,或者作为请求属性存储****ok 的变量 x 。 ${param.x} 会返回一个称为 x 的请求属性(可能多值) ${sess...原创 2019-05-08 17:42:49 · 67 阅读 · 0 评论 -
thymeleaf的基础知识一(源文档学习)
thymeleaf的each和if unless <table> <tr> <th>NAME</th> <th>PRICE</th> <th>IN STOCK</th> <th>COMMENTS</th> </tr> <tr th:each="prod : ${...原创 2019-05-09 00:32:40 · 151 阅读 · 0 评论 -
thymeleaf的基础知识二(源文档学习)
七 表达式内联 7.1 不使用方言而是直接在html中写表达式 [[ ]] 或 [( )] 后者是不转义的 <p>The message is "[(${msg})]"</p> <p>The message is "[[${msg}]]"</p> 7.2 内联和模板的优劣 不使用内联时,浏览器像这样静态地展示我们的代码片段: Hel...原创 2019-05-09 00:31:56 · 159 阅读 · 0 评论 -
Error resolving template "admin/verifyPassword", template might not exist or might not be accessible
org.thymeleaf.exceptions.TemplateInputException: Error resolving template "admin/verifyPassword", template might not exist or might not be accessible by any of the configured Template Resolvers ...转载 2019-05-12 17:22:27 · 391 阅读 · 0 评论