jQuery in Action, 3rd edition
The moose likes JSF and the fly likes Please Help - Using JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Please Help - Using JSF" Watch "Please Help - Using JSF" New topic

Please Help - Using JSF

Shanmu Arumugam

Joined: Mar 22, 2006
Posts: 14

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.

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.

- Shanmu
Vassili Vladimir
Ranch Hand

Joined: Mar 08, 2007
Posts: 1585

Is your deployment structure the same for both of your applications ?

Best of luck ...

Vassili ...
SCJP 5.0, SCWCD 1.4, SCJA 1.0
Shanmu Arumugam

Joined: Mar 22, 2006
Posts: 14
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.
I agree. Here's the link: http://aspose.com/file-tools
subject: Please Help - Using JSF
It's not a secret anymore!