[jboss-dev-forums] [JBoss Portal Development] - Re: Pluggable Interceptors

tombol do-not-reply at jboss.com
Fri Sep 11 07:16:46 EDT 2009


Hello,

My name is tom. I have some questions for you.I'm developing an interceptor to read the HttpSession for an attribute (e.g. thePortalLanguage )
from a portlet that changes the portal's language. 

But when i access this attribute within the invoke method it is null. I observed that the session is accessed firstly from the interceptor an after from my servlet that sets the attribute. Why is that?

Secondly i would like to ask you about the snippet that injects itself. Obviously these are two extra methods inside the interceptor, right?

I cant figure out the methods getInterceptorStack() and your server variable, is it invocation.getRequest().getServer() ??

And what about serviceName variable?

Thank you!



View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254717#4254717

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254717



More information about the jboss-dev-forums mailing list