[jira] [Resolved] (PLUTO-605) Servlet filters are not executed

"Scott Nicklous (JIRA)" <[email protected]>
Newsgroups gmane.comp.jakarta.pluto.devel
Message-ID <[email protected]>
     [ https://issues.apache.org/jira/browse/PLUTO-605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Nicklous resolved PLUTO-605.
----------------------------------
    Resolution: Fixed

> 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 was sent by Atlassian JIRA
(v6.3.4#6332)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.