[solved] problem composing pattern

Splash Forums PrettyFaces Users [solved] problem composing pattern

Tagged: ,

This topic contains 2 replies, has 2 voices, and was last updated by  danielsudpr 11 years, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #17781


    I’ve tried to use a pattern like this:

    <url-mapping id=”home-2″>

    <pattern value=”/home/new” />



    but for some reason I getting an error, any ideas?

    PS: the error is…

    javax.servlet.ServletException: javax.servlet.ServletException: java.io.FileNotFoundException: /home/subsystems/comum/pages/home.xhtml Not Found in ExternalContext as a Resource


    Seems like your view ID is not correct. Try adding a “/” in front of the view id:


    Maybe you will also have to replace xhtml by jsf. But this depends on the configuration of your FacesServlet.




    Thank you chkal,

    I’ve just place another / and it worked perfectly!

    And you were right, the .xhtml was the way I mapped the Faces Servlet.

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

The forum ‘PrettyFaces Users’ is closed to new topics and replies.

Comments are closed.