黑马程序员SSM框架-SpringMVC
发布时间:2023年12月30日
课程链接:SpringMVC-01-SpringMVC简介_哔哩哔哩_bilibili
SpringMVC简介
表现层框架

概述

入门案例











入门案例工作流程

SpringMVC对应的bean加载和Spring对应的bean加载
我们发现SpringMVC要加载controller的bean对象,Spring容器要加载除了controller类以外的bean对象,应该如何实现呢。

方式二

方式三


请求与响应
请求映射路径

Get请求传参

Post请求传参

中文乱码处理

请求参数







json数据传参








@RequestParam和@RequestBody的区别

日期类型参数传递


类型转换器

响应





REST风格


入门案例




@RequestBody、@RequestParam、@PathVariable的区别

Restful快速开发


案例:基于RESTful页面数据交互



SSM整合

Spring整合Mybatis






Spring整合SpringMVC




表现层数据封装




异常处理器





项目异常处理方案








SSM整合标准开发

拦截器


拦截器和过滤器区别

拦截器入门案例




执行流程

拦截器参数



多拦截器执行顺序
某个拦截器return false后他前面的拦截器的after方法会执行。

文章来源:https://blog.csdn.net/weixin_52861033/article/details/135236367
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若内容造成侵权/违法违规/事实不符,请联系我的编程经验分享网邮箱:chenni525@qq.com进行投诉反馈,一经查实,立即删除!