Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery
DOCUMENTATION: Jetty 6 - this wiki. Jetty 7 - at Eclipse. Jetty8 - at Eclipse. Jetty 9 - at Eclipse.
Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current ·  View Page History

3 ways in creating custom error pages

1. web.xml
    location: <webapp>/WEB-INF/web.xml

  Edit web.xml and add the tags below to map error pages.
  a. Error code

  b. Exception type

2. context file
    location: <jetty.home>/contexts/?.xml - any filename for xml

   A basic context xml configured the class ErrorHandler to map error pages by code, exception, and range.

3) New class extends ErrorHandler

Labels
  • None
Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery