cancel
Showing results for 
Search instead for 
Did you mean: 

Change Error pages

Former Member
0 Kudos

Hi all.

I have a requirement to change the standard error pages of J2EE engine, i mean change the message(page) displayed when a WebDynpro application session expires for example. The page that says:

<b>500 Internal Server Error

The Web Dynpro application XXXX has expired....

</b>

and to change the message(page) displayed when some exception is not caught. The page that says:

<b>500 Internal Server Error

Failed to process request. Please contact your system administrator.

...

Error Summary

...

Root Cause

The initial exception that caused the request to fail, was:...

</b>

I wanna know if there is possible to change this pages, i mean by configuration? Some place where i can say if error is X then show the error page XX?

Regards.

Gregory.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

It is possible to customize messages displayed in pages during error condition.

Apply SAP Note 795699 - Customizing default error messages for HTTP

Hope this helps.

Regards

Srinivasan T

Former Member
0 Kudos

Hi Srinivasan.

As I understood this note explains how to change this pages for each web application developed, but not globally to all the aplications running into the J2EE Engine.

Please tell me if I'm wrong. And if I'm wrong please explain me how to use this note to do the change globally.

Regards.

Gregory.

Former Member
0 Kudos

Sorry i did not read this:

<b>"There is no central place to handle error conditions for the whole J2EE Engine and the applications deployed on top of it.

Each application handles separately the error conditions which arise if a request for a resource under its alias arrives."</b>

It means that isnt possible to do the changes globally.

Gregory.

Former Member
0 Kudos

Hi,

Yes. But there you may find few possibilities for global change of some error messages as well.

Pls assign points, if found useful and close the thread.

Regards

Srinivasan T

Former Member
0 Kudos

Hi.

If i want to create my custom errors pages for a web dynpro application, where and how can i do that?

Regards.

Gregory

Former Member
0 Kudos

Hi,

You can use the code snippet suggested in the thread,

Hope this helps.

Regards

Srinivasan T

Former Member
0 Kudos

Hi,

Thx for the answer, reading the post u suggest i note that it works only if there are problems with the JCo's.

I want to customize error pages at all.

Points granted.

Regards.

Gregory.