jQuery in Action, 2nd edition*
The moose likes Other Application Frameworks and the fly likes Stripes redirectResolution Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Stripes redirectResolution" Watch "Stripes redirectResolution" New topic
Author

Stripes redirectResolution

Vadim Vararu
Ranch Hand

Joined: Jan 03, 2009
Posts: 147
How to keep in Stripes data over redirect? I mean how to keep correctly data in the session for redirect purpouses? Is the the correct variant to take the session from contextactionbean, or is there a easier variant?


If you think you've done too much, usually it means you've done too few.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42286
    
  64
I'm not sure I understand - you generally obtain the session from the request (which you get from the ActionBeanContext). It's the same for redirects as for all other requests.


Ping & DNS - my free Android networking tools app
Vadim Vararu
Ranch Hand

Joined: Jan 03, 2009
Posts: 147
I got it from the manual There is an object in stripes (FlashScope) that keeps attributes for 2 requests, so we can do redirect keeping data along.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42286
    
  64
Flash scope is independent of sessions, though.
Vadim Vararu
Ranch Hand

Joined: Jan 03, 2009
Posts: 147
It works with session hand by hand as i know
 
 
subject: Stripes redirectResolution