上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页
摘要: 转载至:https://blog.csdn.net/weixin_34128501/article/details/92424885 阅读全文
posted @ 2020-06-10 14:46 shouyaya 阅读(618) 评论(0) 推荐(0)
摘要: 1.在pom.xml中引入springBoot与mybatis的整合的jar包,注意别引错: <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifa 阅读全文
posted @ 2020-06-09 22:58 shouyaya 阅读(282) 评论(0) 推荐(0)
摘要: 1.使用springBoot的好处: 传统基于maven搭建ssm项目(步骤繁琐): 使用springBoot后项目的搭建: 2.springBoot所必需的目录结构: 3.使用idea的spring Initializer生成springBoot项目: 4.springBoot的入口类(sprin 阅读全文
posted @ 2020-06-09 21:54 shouyaya 阅读(167) 评论(0) 推荐(0)
摘要: 链接:https://www.nowcoder.com/questionTerminal/5ce602538d784f51a531bf9760592773来源:牛客网 count = count++;这句话在Java和C++里面,运行结果是不一样的。 Java中等价于:tmp = count;cou 阅读全文
posted @ 2020-06-09 15:16 shouyaya 阅读(289) 评论(0) 推荐(0)
摘要: 1.需在jsp页面引入头文件: <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 2.在jsp页面的使用方法: 3.对应controller的使用: @RequestMapping(value = " 阅读全文
posted @ 2020-06-08 18:08 shouyaya 阅读(210) 评论(0) 推荐(0)
摘要: 1.与过滤器filter的区别 2.springMVC中拦截器的必须实现的三个方法: 3. 拦截器类的编写: package com.imooc.core; import com.imooc.bean.User; import org.springframework.web.servlet.Hand 阅读全文
posted @ 2020-06-04 23:04 shouyaya 阅读(490) 评论(0) 推荐(0)
摘要: 1.什么是RESTful 2.对应增删改查 注意:HTTP协议中并无PUT和DELETE的操作因此需在web.xml添加HiddenHttpMethodFilter用于识别PUT和DELETE操作 原理是:从POST操作中额外分出PUT和DELETE操作 <filter> <filter-name> 阅读全文
posted @ 2020-06-03 22:31 shouyaya 阅读(933) 评论(0) 推荐(0)
摘要: 1.数据绑定的定义 2.常用的数据绑定类型 3.具体使用方法:在搭建好springMVC环境下添加注解@RequestParam(value = "表单对应的name") 即可完成数据绑定 package com.yzy.controller; import com.yzy.entity.Cours 阅读全文
posted @ 2020-06-03 00:30 shouyaya 阅读(211) 评论(0) 推荐(0)
摘要: 1、只需在web.xml中配置即可 <filter> <filter-name>encodingFilter</filter-name> <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-clas 阅读全文
posted @ 2020-06-02 23:34 shouyaya 阅读(329) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-06-02 00:30 shouyaya 阅读(163) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页