You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Dudu <ed...@yahoo.com.br> on 2006/03/28 16:11:52 UTC

how to discover the FilterMapping of the web app

My web.xml has xml code like this.

<filter-mapping>
        <filter-name>Faces Servlet</filter-name>
    <url-pattern>*.faces</url-pattern>
    </filter-mapping>

How can I know in the java code the url-pattern?
I need to set some features on javascripts code, but i want to build them
with a dynamic way. If I change the url-pattern I need to change a class, I
wont this.
Thanks all