users@glassfish.java.net

Re: JSF 2 not working with Glassfish V3?

From: Mark Space <markspace_at_sbcglobal.net>
Date: Sat, 06 Feb 2010 08:33:10 -0800

Dominik Dorn wrote:
> You accessed it through
>
> /contextPath/faces/test.xhtml
>
> not just
> /contextPath/test.xhtml
>
> right?
>
>

Argh, no I wasn't. *sigh* At least that did help me find the real
error, which was that I needed to add the same path to the welcome file:

    <welcome-file-list>
        <welcome-file>faces/index.xhtml</welcome-file>
    </welcome-file-list>

Rather than just using "index.xhtml" as the welcome file. Thanks for
your patience, I think I learned something today.