1 Reply Latest reply on Apr 2, 2008 5:02 AM by Norman Richards

    Ordering of Seam Filters in Filter Chain

    Drew Kutchar Newbie

      Does anyone know what's the ordering of Seam filters in filter chain? A quick look at the api results in the following filters, which are not well documented:


      CharacterEncodingFilter, ContextFilter, ExceptionFilter, MultipartFilter, RedirectFilter, Ajax4jsfFilter


      I would like to also know what each filter does and in what order.


      Thanks,


      Drew

        • 1. Re: Ordering of Seam Filters in Filter Chain
          Norman Richards Expert

          Look at your log.  You'll see them initialized in the order they get run:



          21:59:36,131 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.redirectFilter
          21:59:36,131 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.exceptionFilter
          21:59:36,131 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.multipartFilter
          21:59:36,131 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.loggingFilter
          21:59:36,131 INFO  [SeamFilter] Initializing filter: org.jboss.seam.debug.hotDeployFilter