custom error page
Trying to add custom error page for content item on a site that might have been unpublished, but not sure where to put the web.xml when w/in WEM site.
<error-page> <error-code>404</error-code> <location>/WEB-INF/errors/404.jsp</location></error-page><error-page> <error-code>500</error-code> <location>/WEB-INF/errors/500.jsp</location></error-page>
Comments
-
To do this, there are many things that come into play, depending on customization/configuration you may have done for your content delivery application (sites.war).
But you should definitely have the values below as well in web.xml of sites.war. But you may need other changes depending on your version and CDA setup.
Best Regards
Qutub
From: eLink Entry: Discussion Group - Web Experience Management <v7webcontentmanagement@elinkkc.opentext.com>
Sent: Friday, March 15, 2019 5:18 PM
To: eLink Recipient <devnull@elinkkc.opentext.com>
Subject: custom error pagePosted bylauren.quintanilla@wellsfargo.com (Quintanilla, Lauren) On 03/15/2019 05:16 PM
Trying to add custom error page for content item on a site that might have been unpublished, but not sure where to put the web.xml when w/in WEM site.
<error-page>
<error-code>404</error-code>
<location>/WEB-INF/errors/404.jsp</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/WEB-INF/errors/500.jsp</location>
</error-page>
[To post a comment, use the normal reply function]
Forum:
Content Server:
0
Categories
- All Categories
- 117 Developer Announcements
- 52 Articles
- 145 General Questions
- 132 Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 8.9K Extended ECM
- 912 Cloud Fax and Notifications
- 81 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 162 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 4 XM Fax