idea2015 插件较为丰富
community 社区版 免费
MyBatis plugin插件 install 安装 插件主要作用: 开发时可以直接通过Dao接口跳转
到Mapper文件 也可以通过Mapper文件直接跳转到Dao中
Mybatis pageHelper
spring-mvc-showcase spring-petclinie spring 官方例子
web.xml 配置
filter 过滤器配置 主要用于转码 利用啦Spring中CharacterEncodingFilter类
进行统一的出入参转化
listener 监听器 主要利用Spring中RequestContextListener监听web容器的启动与关闭
ContextLoaderListener主要用于web容器与Spring整合的监听器
context-param 通过contextConfigLocation加载Spring部分配置文件
serverlet 通过Spring中DispatcherServlet对 指定路径请求进行拦截
applicationContext
<context:component-scan> 扫描注解配置
<import> 引入配置
propertyConfigurer Spring中读取.properties文件中的属性
dataSource 数据库连接池
SqlSessionFactoryBean 中MapperLocations 指定mapper文件的位置
PageHelper 配置时需要指定那个数据库方言 dialect=_______
spring-mvc.xml
StringHttpMessageConverter 编码配置