This week's book giveaway is in the Performance forum. We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line! See this thread for details.
I need help on filters in WebSphere Portal 5.1.x environment. I�ve tried to implement both Servlet Filter and Portlet Filter, but none of them work as expected. Here is the layout of my application specified in DD:
In other words I have normal servlet SimpleServlet and portlet NotSimpleServlet. Note, I use Struts 1.<something> that�s why there is WpsStrutsPortlet included in NotSimpleServlet description.
I will not touch the Portlet Filter, otherwise the post will be too big. Here is my Servlet definition:
... <filter> <filter-name>MyServletFilter</filter-name> <filter-class>foo.my.MyServletFilter</filter-class> </filter> <filter-mapping> <filter-name>MyServletFilter</filter-name> <servlet-name>SimpleServlet</servlet-name> </filter-mapping> <filter-mapping> <filter-name>MyServletFilter</filter-name> <servlet-name>NotSimpleServlet</servlet-name> </filter-mapping> ... The problem is that the Servlet Filter works only for the SimpleServlet, but not NotSimpleServlet. In other words when I trigger SimpleServlet the filter is invoked, while triggering of NotSimpleServlet does not invoke the filter.
Does any one have any clue why this does not work?
Thanks in advance, Uzjd [ June 02, 2008: Message edited by: Dashk Uzjd ]