mybatis之映射器
每次创建一个mapper,都需要在web.xml里面写这个东西来注册
<!--每一个Mapper.xml都需要在MyBatis核心配置文件中注册--><mappers> <mapper resource="com/kuang/dao/UserMapper.xml"/></mappers>