![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
7点-整
这个作者很懒,什么都没留下…
展开
-
Java更改浏览器上方的小图标以及更改配置文件的位置
html的head标签里面写<link rel="icon" href="image/tip.png" sizes="16x16" type="image/png">照片的位置在 resources/static/image下面可以通过在application.properties 里面写spring.resources.static-locations = clas...原创 2020-04-13 16:03:39 · 410 阅读 · 0 评论 -
springboot用thymeleaf把数据库中查询到的数据放到下拉框中
前台:<select id="rcode" name="rcode" class="comment" required lay-verify="required"> <span th:each="lm:${session.risks}"> <option th:text="${lm.riskcode}" th:selected="1==1" > ...原创 2020-04-09 13:38:12 · 1252 阅读 · 1 评论 -
springboot在后台为前台的p标签赋值
后台public String toSubmit2( Map<String, Object> mapinfo ) { map.put("aa","用户名错误");前台<p th:text="${aa}" th:if="${not#strings.isEmpty(aa)}"></p>如有错误请指正,辛苦????...原创 2020-04-09 11:33:40 · 312 阅读 · 0 评论