Re: [S2] accessing #application and #request from a Interceptor

2008-03-17 Thread Nils-Helge Garli Hegvik
Have you tried context.getApplication()? BTW: The source code for the ServletConfigInterceptor shows how to access most of the context objects from an interceptor. Nils-H On Mon, Mar 17, 2008 at 10:16 AM, GF <[EMAIL PROTECTED]> wrote: > > On Mon, Mar 17, 2008 at 10:06 AM, GF <[EMAIL PROTECTED]>

Re: [S2] accessing #application and #request from a Interceptor

2008-03-17 Thread GF
On Mon, Mar 17, 2008 at 10:06 AM, GF <[EMAIL PROTECTED]> wrote: > I have some data stored in #application.mymap > Inside and interceptor I want to put some of this data in > #request.anothermap > > How can I access them? > About the #request, is it right to do this? > > final ActionContex

[S2] accessing #application and #request from a Interceptor

2008-03-17 Thread GF
I have some data stored in #application.mymap Inside and interceptor I want to put some of this data in #request.anothermap How can I access them? About the #request, is it right to do this? final ActionContext context = invocation.getInvocationContext(); request = (HttpServletRe