使用注解开发SpringMVC
声明:本文章属于学习笔记,根据狂神说的SpringMVC编写
SpringMVC 4.2.4.RELEASE 中文文档
这里写目录标题
一丶利用注解开发
1丶我们进行pom.xml的依赖注入:
<build>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>false</