springboot
愿为君故
java新人
展开
-
springCloud使用Nacos作为服务发现与注册中心,配置中心
使用Nacos作为服务发现注册中心配置中心,第一步,下载Naocs。此处使用docker下载安装完成Nacos.docker上正在运行的Nacos,另外做了Nacos持久化配置1,建立maven父工程<?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-i原创 2020-06-01 09:50:53 · 697 阅读 · 0 评论 -
thymeleaf使用restful风格编写url
thymeleaf使用restful风格编写url记录一个遇到的问题,sringboot项目使用到了thymeleaf,前台一个a标签想使用restful风格书写,但是thymeleaf模板的一般语法是 <a th:href="@{/index(page=${studentList.getPageable().hasPrevious()? studentList.getPagea...原创 2019-12-04 20:29:37 · 2828 阅读 · 2 评论