cancel
Showing results for 
Search instead for 
Did you mean: 

Where to keep custom errorPage jsp

Former Member
0 Kudos

I am following the method described in http://help.sap.com/saphelp_nw70/helpdata/en/9a/e74d426332bd30e10000000a155106/frameset.htm  to customize my application's timeout message (error code 400). It asks to put custom jsp in /errorPages/MyCustomErrorPage.jsp

I assume that the path is relative to the application root.

Where exactly I create the errorPages folder?

I have tried the src/mimes/Components/<com.demo../..>/ folder, but it does not work.

Accepted Solutions (1)

Accepted Solutions (1)

Stefan-EA
Contributor
0 Kudos

SAP Note 795699 covers custom error pages.

I applied it and when testing it, I found out that this only works when you are inside the portal (ie have "irj" in the url)

For example,

http://myportal.com:50000/irj/filenotefoundtest -> works, custom error page shows up.

http://myportal.com:50000/filenotefoundtest  -> does not work, custom error page does not show up.

Here is another thread that confirms my findings

http://scn.sap.com/thread/1788939

Former Member
0 Kudos

The note says code 400 cannot be customized. So it means I cannot customize error message for timeouts in WD applications, but what about a method to change the html shown in case of 400 session time out so it follows a different layout? I do not care if this changes the error message template globally for all message.

Answers (1)

Answers (1)

Qualiture
Active Contributor
0 Kudos

Hi,

Just out of curiosity, have you modified the web.xml file too?

I don't think you can apply custom error pages to a specific Web Dynpro Java application -- the described procedure you mentioned is for generic J2EE applications, not Web Dynpro

You could try and have a look at NWA/VA and see if there's something relevant in the web container service for sap.com/tcwddispwda