File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Soft Skills this week in the Jobs Discussion 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: 42913
    
  68
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
Marshal

Joined: Mar 22, 2005
Posts: 42913
    
  68
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Stripes redirectResolution