只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2020-03-26 09:24 花似醉依颜 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 不保存退出用 :q! 阅读全文
posted @ 2020-01-10 15:46 花似醉依颜 阅读(311) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-11-23 16:48 花似醉依颜 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 解决 post 请求乱码:我们可以在 web.xml 里边配置一个 CharacterEncodingFilter 过滤器。 设置为 utf-8. 解决 get 请求的乱码:有两种方法。对于 get 请求中文参数出现乱码解决方法有两个: 1. 修改 tomcat 配置文件添加编码与工程编码一致。 2 阅读全文
posted @ 2019-04-24 10:46 花似醉依颜 阅读(1097) 评论(0) 推荐(0) 编辑
摘要: 1.封装通用layUI分页table绑定 2.Mapper里的方法 3.Mapper.xml 里的处理 <!-- 查询所有信息 --> <resultMap type="cn.itcast.ssm.po.CompanyCustom" id="selectA" autoMapping="true"> 阅读全文
posted @ 2019-04-24 10:29 花似醉依颜 阅读(559) 评论(0) 推荐(0) 编辑
摘要: 在Controller 层 然后就可以了。。。。 阅读全文
posted @ 2019-04-24 10:09 花似醉依颜 阅读(528) 评论(0) 推荐(0) 编辑
摘要: a. 用户向服务器发送请求,请求被springMVC前端控制器DispatchServlet捕获; b. DispatcherServle对请求URL进行解析,得到请求资源标识符(URL),然后根据该URL调用HandlerMapping将请求映射到处理器HandlerExcutionChain; 阅读全文
posted @ 2019-04-23 13:49 花似醉依颜 阅读(108) 评论(0) 推荐(0) 编辑