File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Intercept a 404 Error

 
Elle Atechsy
Ranch Hand
Posts: 96
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 111
Eclipse IDE Java Mac
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi try thi

 
sanat
Ranch Hand
Posts: 111
Eclipse IDE Java Mac
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic