The moose likes Other Application Frameworks and the fly likes Stripes state management problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply 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?
 
 
subject: Stripes state management problem
 
Threads others viewed
Looking for framework that can generate html forms from java objects
Stripes - Nested/Indexed Properties - Select element not populating a NULL value correctly
What web development technology should I use?
Stripes: how to avoid repopulating a textfield
IDE for Stripes
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture