Re: [S2] best way to share data between actions

2008-10-16 Thread Wes Wannemacher
If you want a Struts-y solution, you could take a look at the patch to this JIRA - https://issues.apache.org/struts/browse/WW-2635 It implements a "flash" scope, which sounds like what you're looking for. -Wes On Thu, 2008-10-16 at 16:47 -0500, [EMAIL PROTECTED] wrote: > This is the million do

Re: [S2] best way to share data between actions

2008-10-16 Thread stanlick
This is the million dollar question! Always strive to "hold onto" the least amount of data possible. This usually means for as long as it takes to build the web page.Use the request scope unless you *must* access the *same* data later. At which point you should save only *keys* to the actual

[S2] best way to share data between actions

2008-10-16 Thread John Cartwright
Hello All, What is the recommendation for sharing data between actions? I have one action that performs a search and displays the results in a JSP page. That results page contains links to another action in which I'd like to have access to the original search results. My first instinct was t