File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes Intercept a 404 Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Intercept a 404 Error" Watch "Intercept a 404 Error" New topic
Author

Intercept a 404 Error

Elle Atechsy
Ranch Hand

Joined: Jan 23, 2004
Posts: 96
Hi,

Is it possible to intercept a 404 error and trigger a servlet from the web.xml file?

Thanks in advance,
Lulu
sanat
Ranch Hand

Joined: Dec 08, 2004
Posts: 111

Hi try thi

sanat
Ranch Hand

Joined: Dec 08, 2004
Posts: 111

Originally posted by sanat kumar padhy:
Hi try thi



use [error-page] [error-code]404 [location] /somemapping

hope this helps
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Intercept a 404 Error