File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Application Frameworks and the fly likes Stripes state management problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Stripes state management problem" Watch "Stripes state management problem" New topic

Stripes state management problem

Ravi Delogico

Joined: Jun 28, 2011
Posts: 14

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?
I agree. Here's the link:
subject: Stripes state management problem
It's not a secret anymore!