You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by kuvalda <pe...@mail.ru> on 2016/03/18 09:35:38 UTC
Defining dispatcher types for filter mapping via pax web whiteboard
extender
Is there a way to define dispatcher types for filter mapping via pax web
whiteboard extender, like in web.xml?
<filter-mapping>
<filter-name>Filter</filter-name>
<url-pattern>/example/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>
-----
Pavel
--
View this message in context: http://karaf.922171.n3.nabble.com/Defining-dispatcher-types-for-filter-mapping-via-pax-web-whiteboard-extender-tp4045841.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Defining dispatcher types for filter mapping via pax web
whiteboard extender
Posted by Achim Nierbeck <bc...@googlemail.com>.
Hi,
yes should be possible, just add those params as properties to your filter
servlet.
Take also a look at the documentation:
http://ops4j.github.io/pax/web/SNAPSHOT/User-Guide.html#WhiteboardExtender-Howdoesithelponfilterregistration
regards, Achim
2016-03-18 9:35 GMT+01:00 kuvalda <pe...@mail.ru>:
> Is there a way to define dispatcher types for filter mapping via pax web
> whiteboard extender, like in web.xml?
> <filter-mapping>
> <filter-name>Filter</filter-name>
> <url-pattern>/example/*</url-pattern>
> <dispatcher>REQUEST</dispatcher>
> <dispatcher>FORWARD</dispatcher>
> </filter-mapping>
>
>
>
>
> -----
> Pavel
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Defining-dispatcher-types-for-filter-mapping-via-pax-web-whiteboard-extender-tp4045841.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
Software Architect / Project Manager / Scrum Master