Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

standard 404 behaviour

Avatar

Avatar
Validate 1
Level 2
Reini-
Level 2

Likes

4 likes

Total Posts

21 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
Reini-
Level 2

Likes

4 likes

Total Posts

21 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
Reini-
Level 2

15-10-2015

Hi,

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?

 

regards

Reinhard

Accepted Solutions (0)

Answers (0)