Hello,

In my application, all url is mapped to return the home page.
Now i need to filter a particular
url(http://localhost:8082/myapp-webapp/en/user/manageuser/searchuserdetails?externalId=10)

in web.xml i add a filter like this :

        <filter>
                <filter-name>searchUserDetailsFilter</filter-name>
               
<filter-class>net.awl.tapestry5.oops.user.pages.manageuser.SearchUserDetailsFilter</filter-class>
        </filter>

        <filter-mapping>
          <filter-name>searchUserDetailsFilter</filter-name>
          <url-pattern>/searchuserdetails/*</url-pattern>
        </filter-mapping>

In AppModule.java i add :
          public static void
contributeIgnoredPathsFilter(Configuration<String> configuration)
          {
                 
System.out.println(">>>>>>>>>>>>>>>>>>>>>IGNORED_PATHS_FILTER>>>>>>>>>>>>>>>>");
                  configuration.add("/searchuserdetails/*");
          }

The probleme is that the filter is called just when i start the server.
When a try to access to
http://localhost:8082/myapp-webapp/en/user/manageuser/searchuserdetails?externalId=10
the contributeIgnoredPathsFilter is correctly called but i have the home
page.

Any idea

Thx





--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Filter-URL-tp5719699.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to