06 2020 档案
摘要:Constructs a cookie with a specified name and value.The name must conform to RFC 2109. That means it can contain only ASCII alphanumeric characters an
阅读全文
摘要:modelAndView.addObject("loginUser", user); loginUser里面有username属性 当我们想获取username时,需要加上if判断,即判断loginUser不为null <th:block th:if="${loginUser!= null}"> <
阅读全文
浙公网安备 33010602011771号