Spring - Flash scope and Post-Redirect-Get pattern

What is flash scope?
  • Flash scope is a concept which does not exist in Spring, but in JSF 2 and Play framework. 
  • It is a scope between request scope, which is created and removed for each request, and session scope, which last for entire user session. 
  • Flash scope is used in the Post-Redirect-Get pattern. Attributes kept in flash scope, using flash bean, will be available during the current request and the next request.
What is Post-Redirect-Get?

How to achieve flash scope in Spring?

评论

此博客中的热门博文

Nu förbjuder Kina handel med elfenben

Fader av pingyins

Kineserna vill köpa Volvos kompetens