摘要: 1 为什么需要定位 (1) 浮动可以让多个块级盒子一行没有缝隙排列显示, 经常用于横向排列盒子。(2) 定位则是可以让盒子自由的在某个盒子内移动位置或者固定屏幕中某个位置,并且可以压住其他盒子。 2 定位组成 (1) 定位 = 定位模式 + 边偏移 <!-- 定位模式用于指定一个元素在文档中的定位方 阅读全文
posted @ 2023-04-08 20:28 10kcheung 阅读(55) 评论(0) 推荐(0)
摘要: 1 创建新的模块,引入坐标 <dependencies> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.46</version> </dependenc 阅读全文
posted @ 2023-04-08 19:47 10kcheung 阅读(87) 评论(0) 推荐(0)
摘要: 问题: com.alibaba.fastjson.JSONException: syntax error, expect {, actual error, pos 0 翻译: 语法错误,期望{,实际错误,pos 0 分析: 首先查看前端所传递的值是否有问题,使用console.log()打印出来前端 阅读全文
posted @ 2023-04-08 17:34 10kcheung 阅读(818) 评论(0) 推荐(0)
摘要: 通过System.Out.println()打印可能为空的值,测验问题在哪。 阅读全文
posted @ 2023-04-08 17:32 10kcheung 阅读(39) 评论(0) 推荐(0)
摘要: 问题: ### Error querying database. Cause: org.apache.ibatis.binding.BindingException: Parameter 'status' not found. Available parameters are [arg2, arg1 阅读全文
posted @ 2023-04-08 17:27 10kcheung 阅读(605) 评论(0) 推荐(0)
摘要: 问题: Caused by: org.apache.ibatis.binding.BindingException: Mapper method 'com.itheima.mapper.BrandMapper.SelectTotalCount attempted to return null fro 阅读全文
posted @ 2023-04-08 17:27 10kcheung 阅读(20) 评论(0) 推荐(0)
摘要: 1 自定义baseServlet public class BaseServlet extends HttpServlet { @Override protected void service(HttpServletRequest req, HttpServletResponse resp) thr 阅读全文
posted @ 2023-04-08 11:01 10kcheung 阅读(26) 评论(0) 推荐(0)