Custom error pages in servlets are configured in the _________ file.

  • config.xml
  • custom-error.xml
  • error-pages.xml
  • web.xml
Custom error pages in servlets are configured in the web.xml file. This file allows you to specify error pages for different HTTP status codes, providing custom error handling in your web application.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *