web3.0项目,tomcat9.0,自动生成web.xml文件html
按照mybatis配置,先自动生成dao层,更改相应信息web
我mybatis如何配置: http://www.javashuo.com/article/p-kvsibnpm-gs.htmlspring
一、web.xml配置以下tomcat
二、mybatis.xml配置以下mybatis
三、springMVC-servlet配置以下架构
四、applicationContext.xml配置以下app
五、jar包以下图jsp
----视图层,网页jsp----发送请求到控制层 AccountAcion3d
----控制层发送到逻辑层AccountService作逻辑判断,判断过程当中调用持久层Dao中的映射接口,接口调用mapper层对应映射的xml文件,xml
----在service层把查询到的数据返回到视图层