当前位置:网站首页>6.9.1 flashmapmanager initialization (flashmapmanager redirection Management) - SSM in depth analysis and project practice
6.9.1 flashmapmanager initialization (flashmapmanager redirection Management) - SSM in depth analysis and project practice
2020-11-06 01:14:00 【Memory】
List of articles
6.9 FlashMapManager Redirection Management
FlashMapManager It's for retrieval and preservation FlashMap Instance policy interface .
Spring3.1 And then we introduced a new one called Flash Attribute The function of , It is mainly to solve the problem of submitting data repeatedly in the form , application POST/Redirect/GET(PRG) Mode to prevent duplicate submission of data ( Form passed HTTP POST After the request is submitted , The user refreshes the response page before the server returns , Will cause the original form content to be submitted repeatedly , It may lead to some unpredictable results ).
So use the redirection request to the success page , In this way, users will not submit the form when they refresh , It's loading new GET request . But redirection introduces the problem of not passing request parameters and properties , therefore Spring Of Flash Attribute It's to ask for redirection before , Solve the problem of temporary storage .
FlashMap Provide a method for one request to store data properties used in another request .
When from a URL Redirect to another URL when ,FlashMap The request data will be saved before redirection ( It is usually kept in Session in ), And write the data to the request when redirecting , And immediately after the reset, the original will be saved in Session Request data deletion in . and FlashMapManager It's used to manage FlashM
版权声明
本文为[Memory]所创,转载请带上原文链接,感谢
边栏推荐
- 【无思路题目】1636. 按照频率将数组升序排序
- 9.2.5 environmentslelement method (XML configuration builder analysis) - SSM in depth analysis and project practice
- 基础知识点整理
- 直接保存文件至 Google Drive 并用十倍的速度下载回来
- 6.9.1 FlashMapManager初始化(FlashMapManager重定向管理) -《SSM深入解析与项目实战》
- 10款好用的自动化测试工具
- 6.9.2 SessionFlashMapManager分析(FlashMapManager重定向管理) -《SSM深入解析与项目实战》
- Gradient understanding decline
- 今天你写博客了吗?
- leetcode之赎金信
猜你喜欢
随机推荐
7.3.1 file upload and zero XML registration interceptor
微信小程序:防止多次点击跳转(函数节流)
8.2.3 implementation of interceptors (interceptors and filters) through handlerinterceptor
9.2.4 settingselement method (XML configuration builder analysis) - SSM in depth analysis and project practice
如何选择分类模型的评价指标
Jmeter——ForEach Controller&Loop Controller
Anomaly detection method based on SVM
利用 AWS SageMaker BlazingText 对不均衡文本进行多分类
How to select the evaluation index of classification model
使用LIME解释黑盒ML模型
结构化数据中的从属判断问题
面经手册 · 第14篇《volatile 怎么实现的内存可见?没有 volatile 一定不可见吗?》
ThreadLocal原理大解析
APReLU:跨界应用,用于机器故障检测的自适应ReLU | IEEE TIE 2020
如何使用ES6中的参数
权重不确定的概率线性回归
自然语言处理-搜索中常用的bm25
c++学习之路:从入门到精通
經典動態規劃:完全揹包問題
基于RNN自编码器的离群点检测








