Hi,
I have a logging filter defined in the web.xml of my portlet whose init method gets called during startup of the portal server.
I would then expect to see some debug output from every request made inside my portlet but I don't get anything. Breakpoints inside the doFilter method are not hit either.
I have tried the url pattern set to /*, /portal/*, /web-client/* (the name of my EAR file) and /jsp/* (a root folder of my portlet) all to no avail.
I'm presuming they are not being hit as the request is initially being processed in the context of portal-core.sar and not my portlet. However, as the filter gets called during startup I would have thought it should be called for every request too.
So my question is, is it legal to have servlet filters in a portlet, and if so what url mapping do I need to get them invoked?
I'm using a build of the portal server from the source taken in the middle of last week.
Any help would be really appreciated as I was hoping to handle my security requirements using filters too!
Thanks in advance,
Gav
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877115#3877115
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877115
|