
thymeleaf
文章平均质量分 63
天元白手
专精于企业数据分析、设计及实施商业智能业务解决方案、软件开发及数据管理和治理。
展开
-
Thymeleaf自定义日期格式输出
日期格式输出,自定义‘yyyy-MM-dd’ <td th:text="${#dates.format(number.getBirthday(), 'yyyy-MM-dd')}"></td>原创 2020-09-26 16:08:34 · 425 阅读 · 1 评论 -
org.thymeleaf.exceptions.TemplateInputException: Error resolving template [outbound], template might
使用thymeleaf错误Error resolving template [outbound], template might not exist or might not be accessible by any of the configured Template ResolversError resolving template [outbound], template might not exist or might not be accessible by any of the config原创 2021-03-25 18:49:20 · 746 阅读 · 0 评论 -
宠物管理系统springboot+mybatisPlus+thymeleaf+js+jQuery
首先使用mybatis-plus生成代码再引入pom.xml依赖<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https:原创 2021-03-05 20:30:12 · 205 阅读 · 0 评论 -
会议室管理系统springboot+thymeleaf+mybatis-Plus
会议室管理系统架包图片首先配置好pom.xml文件,再使用mybatisPlus生成代码,所有的实体类,mapper,service,controller都可以生成pom.xml<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" x原创 2021-03-04 19:37:37 · 637 阅读 · 0 评论 -
thymeleaf入门基础语法笔记
记录一下,等做项目的时候不需要满世界的百度查语法在使用thymeleaf的时候我们需要在html页面的头顶加入thymeleaf的命名空间<html xmlns:th="http://www.thymeleaf.org"><html xmlns:th="http://www.thymeleaf.org"> <head> <title>Good Thymes Virtual Grocery</title> <met原创 2021-02-28 13:32:04 · 566 阅读 · 0 评论 -
当thymeleaf取到的数据有html标签的时候
/** * @author think */@Controller@RequestMapping("springboot")public class HelloController { @RequestMapping("test") public String hello(Model model){ model.addAttribute("username", "<a href=''>数据</a>"); return "in原创 2021-02-28 10:05:50 · 839 阅读 · 1 评论 -
thymeleaf的jsp日期写法
thymeleaf的写法和EL表达式的写法是有些类似的,总的说thymeleaf的写法更好:官网doc:https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html#simple-conditionals-if-and-unless <td th:text="${#dates.format(i.startdate,'yyyy-MM-dd')}"></td><tr th:each="i:${list}"&原创 2021-02-18 09:54:39 · 123 阅读 · 0 评论