4 Replies Latest reply on Feb 11, 2008 11:44 AM by Mauro T

    Richfaces and Servlet Filters

    Mauro T Newbie

      I create a dummy filter and I realize that filter is invoked 3 times. Why ?



      public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
       System.out.println("THAT'S IT");
       HttpServletRequest request = (HttpServletRequest) servletRequest;

      And the output when a request
      THAT'S IT
      THAT'S IT
      THAT'S IT

      As you can see the filter is invoked three times and the URI are different.
      Why ?