I've been using JSF in my application. If the response is 404-FILE NOT FOUND then I've to show my custom Error page. I tried to use the following tag in my web.xml. <error-page> <error-code>404</error-code> <location>/jsf/PageNotFound.jsp</location> </error-page>
But it is not working. I'm not getting my custom error page. I created one sample application with JSPs and used the <error-page> tag in the DD, it works. But not in my JSF application.
Could some one please help me on this. Thanks in Advance.
Is your deployment structure the same for both of your applications ?
Best of luck ...
SCJP 5.0, SCWCD 1.4, SCJA 1.0
Joined: Mar 22, 2006
There is nothing much in my sample application, just 2 JSPs and web.xml. So I've just used the <error-page> in the web.xml. But in my actual application I've declared so many stuffs like filters, <ejb-ref>, listeners etc. thanks Shanmu