[
https://issues.apache.org/jira/browse/PLUTO-605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12981697#action_12981697
]
Faizal Abdoelrahman commented on PLUTO-605:
-------------------------------------------
Thanks for your swift reply. That fixed the problem. But shouldn't it be part
of the web.xml rewriting during pluto ant/maven tasks?
> Servlet filters are not executed
> --------------------------------
>
> Key: PLUTO-605
> URL: https://issues.apache.org/jira/browse/PLUTO-605
> Project: Pluto
> Issue Type: Bug
> Affects Versions: 2.0.2
> Environment: Eclipse helios wtp / pluto 2.0.2 bundle / windows / java
> 6 (ibm)
> Reporter: Faizal Abdoelrahman
>
> Hello,
> I am reliant on the servlet filter mechanism to keep working. However none on
> my servlet filters are fired when running my portlet inside the pluto 2.0.2
> bundle. I use the cross context calls, standard plutoinvoker setup in
> web.xml, here is a simple example I created:
> <filter>
> <filter-name>HelloFilter</filter-name>
> <filter-class>example.HelloFilter</filter-class>
> </filter>
> <filter-mapping>
> <filter-name>HelloFilter</filter-name>
> <url-pattern>/PlutoInvoker</url-pattern>
> <url-pattern>/PlutoInvoker/*</url-pattern>
> <url-pattern>/PlutoInvoker/</url-pattern>
> <url-pattern>/*</url-pattern>
> <url-pattern>/</url-pattern>
> </filter-mapping>
> <servlet>
> <servlet-name>helloWorldServlet</servlet-name>
> <servlet-class>example.HelloWorldServlet</servlet-class>
> <load-on-startup>1</load-on-startup>
> </servlet>
> <servlet>
> <servlet-name>tomcatDevelopmentServlet</servlet-name>
>
> <servlet-class>org.apache.pluto.container.driver.PortletServlet</servlet-class>
> <init-param>
> <param-name>portlet-name</param-name>
> <param-value>helloworldportlet</param-value>
> </init-param>
> <load-on-startup>1</load-on-startup>
> </servlet>
> <servlet-mapping>
> <servlet-name>tomcatDevelopmentServlet</servlet-name>
> <url-pattern>/PlutoInvoker/helloworldportlet</url-pattern>
> </servlet-mapping>
> <servlet-mapping>
> <servlet-name>helloWorldServlet</servlet-name>
> <url-pattern>/hello</url-pattern>
> </servlet-mapping>
> The filter does get executed for the helloworldservlet case not so for the
> portlet. Hope to have some answers soon.
> Cheers,
> Faizal
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.