Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
Author

Stripes state management problem

Ravi Delogico
Greenhorn

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 http://www.stripesframework.org/display/stripes/State+Management

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: http://aspose.com/file-tools
 
subject: Stripes state management problem