Brightspot CMS Developer Guide

Modifying web.xml

For the Tomcat server, you associate error codes with the location of custom error pages in Brightspot’s web.xml file. (See Interface HttpServletResponse for a listing of possible Tomcat error codes.)

The following example shows a custom page setup for error code 404.

  1. Open the file /src/main/webapp/WEB-INF/web.xml.
  2. Under the root <web-app> element, define <error-page> elements where the <error-code> child element corresponds to a Tomcat error code, and the <location> child element corresponds to a page URL defined in Brightspot.

Previous Topic
Error pages
Next Topic
Creating a custom error page
Was this topic helpful?
Thanks for your feedback.
The elements that get you up and running in a matter of days, from pre-built content types, to modules, to landing pages.

Content types
Landing pages
Everything you need to manage and administer content within Brightspot CMS, including plug-and-play integrations.

Admin configurations
A guide for installing, supporting and administering code on the Brightspot platform, including integrations requiring developer support to use.

Field types
Content modeling
Rich-text elements