This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
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.
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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Stripes redirectResolution
 
It's not a secret anymore!