Re: [S2] getting namespace in interceptor

2008-11-11 Thread Sven Grünewald
I think you could use: public String intercept(ActionInvocation invocation){ invocation.getProxy().getNamespace(); ... Regards, Sven Michael Obster schrieb: Hi, is there a way to get the namespace of an invoked action in an interceptor? I don't find a way to do that :-(. Anyone has an ide

[S2] getting namespace in interceptor

2008-11-11 Thread Michael Obster
Hi, is there a way to get the namespace of an invoked action in an interceptor? I don't find a way to do that :-(. Anyone has an idea for this problem? The point is I want to check the users role in the interceptor whether the user is allowed to call the action. Regards, Michael -- http://www