This content has been marked as final.
Show 2 replies
-
1. Re: How to redirect
mikkus70 Dec 16, 2011 1:02 PM (in response to kamal_khadka)Resources not found in the application are actually handled by the container (the JBoss server in this case) not by the application. So, you need to handle it the way the container expects, via a web.xml directive:
<error-page> <error-code>404</error-code> <location>/error/404.html</location> </error-page>
You can redirect to a static page or a seam page.
-
2. Re: How to redirect
kamal_khadka Dec 21, 2011 10:15 PM (in response to kamal_khadka)Thank you very much for this idea. I will do this.