on 10-04-2012 8:10 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.