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]> 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 ActionContext context = invocation.getInvocationContext();
> > request = (HttpServletRequest) context.get(HTTP_REQUEST);
> > request.setAttribute("anothermap", anotherMap);
> >
> >
> > Ok, I have found this is right.
> I'm still searching how to access #application map from the Interceptor..
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]