- 博客(2)
- 收藏
- 关注
原创 mybatis小练习
项目目录如上所示。 图3:这个是myBatisconfig.xml的配置,在这里定义了两个别名,Student和Teacher会在StudentMapper.xml中用到。中间是JDBC的配置,下面是mapper映射配置,StudentMapper.xml配置包含了下面两幅图的内容,只是部分的。 图1 result 里面的property属性对应的是实体类的...
2015-01-08 10:38:02 126
原创 自己学的关于springMVC的简单实现(基于注解)
首先是Spring的配置web.xml<?xml version="1.0" encoding="UTF-8"?> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
2014-10-20 11:11:12 72
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人