views:

246

answers:

1
+4  A: 

If you use Facelets (which is almost mandatory if you want to develop JSF webapps), an error page is automatically created. You can see an example here.

More generally, you can customize your web.xml in order to redirect the user when an error occurs.

romaintaz