2 Replies Latest reply on Oct 22, 2008 10:39 PM by danielc.roth

    Default Page for a directory

    rdc2001

      Hello,

      Does anyone know how to configure seam/facelets so that index.xhtml is served up by default for subdirectories within a web application?

      For instance if a user types in:


       http://xxxx/presentations/march2008



      I want the following file served up


       presentations/march2008/index.xhtml



      instead of having to type in


       http://xxxx/presentations/march2008/index.jsf



      Basically I want the same behavior that I get with Apache and index.html in subdirectories. I tried a ServletFilter but I got errors from AJAX4JSF's servlet filter. That error made me wonder if a ServletFilter was a right approach or if there was a configuration parameter that I was missing somewhere.

      Thanks,

      -Ryan