How to force a none existing view to 404 error page.
How to force a none existing view to 404 error page.
November 16, 2011 - 01:44
I used Majarra 2.1.3, tomcat 7, Spring 3 in my project, when user tried to accesss none existing page, for example
http://localhost:8080/fi/xxxx.faces
In fact, this page does not exist.
It will display a empty page, I opened firebug and it returned 200 code.
I have defined 404 error page in the web.xml, how to force it redirect to 404 page.




