What is the significance of the web.xml file in handling servlet errors?

  • It configures session handling
  • It controls servlet access
  • It defines error pages
  • It sets servlet timeout
The web.xml file is significant in handling servlet errors as it defines error pages, specifying which HTML or JSP page should be displayed for different HTTP error codes.
Add your answer
Loading...

Leave a comment

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