Sign in to Community
Sign in to view all badges
I've one component in my project, which should send the http status code 404 in some cases. If the component sends this errorcode, the default 404 error page should be displayed.
To test this behaviour I added "<% response.sendError(404); %>" to /libs/foundation/components/text/text.jsp. After that I requested the page http://localhost:4503/content/geometrixx/en/products/triangle.html. In firebug I can see the status 404, but the default errorpage and the content of http://localhost:4503/content/geometrixx/en/products/triangle.html are shown in the browser (see attached sceenshot).
Has anybody an idea how to show the default errorpage only?