alexander-wd / alex-next

next主题博客
0 stars 0 forks source link

springMVC 笔记 | alex #3

Open alexander-wd opened 3 years ago

alexander-wd commented 3 years ago

https://alexander-wd.github.io/alex-next/2020/07/27/java%E5%90%8E%E7%AB%AF/SpringMVC/

项目gitee地址 https://gitee.com/alexander1/spring-mvc-notes 一、SpringMVC入门 springMVC的搭建过程:1.导入jar2.在web.xml中配置springMVC的核心控制器DispatcherServlet作用:加载springMVC的配置文件3.创建一个POJO,在此类上加@Controller4.在控制层中,在方法上设置@R