Where to put non action associated data

2011-07-31 Thread Marcus Bond
Hi, Say I have a form where user can carry out a product search which hits an action and returns a list of results - easy.. however in response to the user changing their search criteria I want to also generate some search terms which would be passed through to Ebay, google ads etc.. but not wi

Re: Where to put non action associated data

2011-07-31 Thread Chris Pratt
This sounds like one of the very few legitimate uses of the chain result type. Check out http://struts.apache.org/2.0.14/docs/chain-result.html (*Chris*) On Jul 31, 2011 9:50 AM, "Marcus Bond" wrote: > Hi, > > > > Say I have a form where user can carry out a product search which hits an > action

Destroy an Action in Struts2?

2011-07-31 Thread JOSE L MARTINEZ-AVIAL
Hi, Is there a way to destroy correctly an Action? I know that a instance of an Action is created every time it is needed, and it is alive during the processing of the request until the response is sent back to the user. What I don't know is if the instance is 'destroyed' in some way, or Struts