Disable showing the index.jsf

Splash Forums PrettyFaces Users Disable showing the index.jsf

This topic contains 1 reply, has 2 voices, and was last updated by  Christian Kaltepoth 6 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17989

    wombatus
    Participant

    Hey guys,

    I just saw in the Reference Guide, that there is a sample mapping, which should hide the index.jsf from the URL:

    <url-mapping id="home">

    <pattern value="/" />

    <view-id value="/faces/index.jsf" />

    </url-mapping>

    Unfortunalty, I can´t get this to work. I just get a 404: “HTTP Status 404 – /index.jsp”.

    I am using JBoss 7 Final with JSF 2.

    Any ideas?

    #21150

    Are you sure the referenced view exists? It says "HTTP Status 404 - /index.jsp". So JBoss is trying to access index.jsp and cannot find it!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Comments are closed.