Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Stripes state management problem  RSS feed

Posts: 14
Firefox Browser Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Currently I'm facing a problem of state management. After submitting my form(to add record) , I forward my request to another jsp from the action bean. So on refresh same event (add record) is called and it re-submits my form.
Then I've gone though

This link suggests me to use FlashScope. But my problem is that in my page I'm using session attributes and request parameters. So if I use FlashScope it works fine but only first time. Once the page loads and as I refresh, all my attributes and parameters goes away.

So how to take control of all my parameters and avoid the problem of re-submit on refresh?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!