On April 27, 2024, our Sign-in and Create Account options will be unavailable from 9am-12pm ET. During this maintenance window, developer account access and free trial registration will be unavailable.
WEM 8.5 - How to send an error while executing a content component's display view jsp
Hi Experts,
I'm just curious about the error handling in a JSP (display view):
Usually, you can force an error page by invoking something like:
${pageContext.response.sendError(404)}
In WEM it does not work (or at least it does not work for me).
Do you know how to handle this correctly?
At a certain condition in a display view, I would like to abort the execution and send an error to the client.
The WEM error handling seems to isolate errors within it's content components. How can I force an all-embracing error and abort execution to show a 404 status code (for example)?
Thanks,
Sagar Sunkar.
Categories
- All Categories
- Cloud Editions
- 1 Thrust Services
- cat as link
- 1 Core SaaS Application development
- 10 Developer Announcements
- 15 General Questions
- 33.4K TeamSite
- 141 Application Governance & Archiving
- 15.2K Designing Analytics Reports
- 1K DevShare Downloads
- Core SaaS Applications
- nested parent
- 4.3K Developing Analytics Applications
- 8.8K Documentum Developer Forum
- Media Management developer
- 159 Transactional Content Processing (TCP)
- 1.7K Web Experience Management
- 55 Tempo Social
- 1 XM Fax