- 博客(2)
- 收藏
- 关注
原创 Long与String进行equals时问题
public static void main(String[] args) { String a="888"; Integer b=888; System.out.println(a.equals(b));//false ① System.out.println(b.equals(a));//false ② }①②总结:执行equals的时候都是先判断着两个类是否有相互继承的关系,如果insta...
2020-09-10 09:36:22
826
原创 th:value和th:field中遇到的问题
th:value和th:field中遇到的问题<input th:value="*{userName}" type="text"> 等同于<input value="userName返回的值" type="text"><input type="text" th:field="*{userName}" > 等同于<input type="text" name="userName" id="userName" value="userName返回的值
2020-09-09 11:37:50
2885
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人