摘要:
thymeleaf th:href url传递 参数 的问题 <a th:href="@{/index(user=${user},email=${email})}"></a> 和传统的写法,效果一样的。 <a th:href="/index?user=123&email=456"></a> 阅读全文
posted @ 2020-06-11 14:34
wuyicode
阅读(3435)
评论(0)
推荐(0)
摘要:
在找静态资源的时候。避免出现找不到文件,http 报 404的错误。其实就是 相对路径,绝对路径和项目部署的路径三者的区别。 推荐使用项目的部署路径${pageContext.request.contextPath} 阅读全文
posted @ 2020-06-11 14:32
wuyicode
阅读(600)
评论(0)
推荐(0)
浙公网安备 33010602011771号