值传递问题
Leon.D.Shen
这个作者很懒,什么都没留下…
展开
-
关于jsp传递中文参数到controller乱码的问题
开始我以为是编码的问题,都检查了还是解决不了问题。最后发现是我用的layui框架传递参数的方式是get。get无法传递中文参数,传递会乱码。所以最后是修改了server.xml文件,才可以。改为...原创 2018-02-28 17:45:31 · 881 阅读 · 0 评论 -
Thymeleaf如何拼接href \src
src示例:<img th:src="@{/img/research/{filename}(filename=${research.filename})}">href示例:<a th:href="@{'https://'+${url.url}}" th:text="${url.urlName}"></a>原创 2018-07-27 09:38:58 · 25568 阅读 · 13 评论 -
thymeleaf th:with 的使用及传参
利用th:with可以直接调用service方法要注意的是 @后的服务名要跟@service中一致传递的参数不需要再加$符原创 2019-04-25 10:39:47 · 10357 阅读 · 4 评论