Spring Web Flow Preventing Back Button Use

一曲冷凌霜 提交于 2019-12-04 10:27:30

I did a lot of searching on this.

This old forum post has 2 solutions (with sample code).

The first is to catch the exception and display a page that use javascript to forward() back to the original page - in effect undoing the back.

The 2nd solution examines the flow state and sends them to most recent valid flow snapshot.

I'm as perplexed as you are that there is no out of box solution. Everyone must encounter this issue. There is a JIRA issue filed for those interested in following the progress.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!