• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error 404 JSP  RSS feed

 
Mark Reyes
Ranch Hand
Posts: 426
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I configured something like this in my web.xml to catch all 404 errors being raised by my servlet and jsp application



Is it possible for me to send an email when a 404 error is thrown? I dont want to use scriplet in this JSP that will send an email.

Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Set the location to the URL of a servlet that will perform the error handling.
 
Mark Reyes
Ranch Hand
Posts: 426
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bear,

Thank you...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!