Cheers Chris,
Chris Pratt wrote:
>
> You may want to think about using:
>
> invocation.getStack().getContext().put(MAGIC_KEY,getStuff());
>
> instead of:
>
> invocation.getStack().set(MAGIC_KEY,getStuff());
>
> For the sake of argument, I'm going to assume that MAGIC_KEY is set to the
> Str
You may want to think about using:
invocation.getStack().getContext().put(MAGIC_KEY,getStuff());
instead of:
invocation.getStack().set(MAGIC_KEY,getStuff());
For the sake of argument, I'm going to assume that MAGIC_KEY is set to the
String "magic". The first example above makes #magic availabl
RogerV wrote:
>
>
>
> Andy Law wrote:
>>
>> The pertinent code in the interceptor is reproduced below. It does what I
>> expect it to do insofar as it sticks my "Stuff" object in a place that
>> the JSP can retrieve it using the MAGIC_KEY string. However, if I
>> configure my interceptor stac
Andy Law wrote:
>
> Following on from my previous question
> (http://old.nabble.com/Some-Spring-Struts-questions-td28533505.html) about
> injecting objects orthogonal to actions into the environment where jsps
> can "see" them, I now have an interceptor that does what I want it do
> (Yay! - tha
4 matches
Mail list logo