Splash › Forums › PrettyFaces Users › [solved] problem composing pattern
Tagged: pattern, [SOLVED]
This topic contains 2 replies, has 2 voices, and was last updated by danielsudpr 7 years, 1 month ago.
I’ve tried to use a pattern like this:
<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.
You must be logged in to reply to this topic.
Comments are closed.
If you find our tools useful, please consider making a donation to help us stay online and building software!