cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Error message in portal

Former Member
0 Kudos
122

HI Experts,

I trying to implement cutom error messages in portal. By Following the below link.

[https://cw.sdn.sap.com/cw/community/docupedia/nw70java/blog/2010/03/21/custom-error-messages-in-the-portal]

As of now I trying to implement it for error code "500".


<error-page>
             <error-code>500</error-code>
             <location>/Customerrors/500.html</location>
       </error-page>
</web-app>

The above code I pasted in web.xml. 500.html is there in customerrors folder. I have also restrated the system.

when I log in to portal system still I could see standard message coming for "500" code error not the custom one from 500.html.

Iam using EP7.0 EHP1 .

Thanks

Surender Singh Dahiya

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Surender,

In the blog you are pointing to, the name of the folder is customerror and I guess you might be using a Customeror with a capital C.

Regards,

Sandeep Tudumu

Former Member
0 Kudos

Hi Sandeep,

Thanks for your input, But I have created a folder with "Customerrors" name. That is correct.

Could u put some light on EP version . I think that blog is for EP 6 and not for EP 7.0 may be something have changed ?

Former Member
0 Kudos

Surender,

I guess it should work in the similar fashion.However, I do not have access to a portal system now. Will try testing the scenario soon and keep you posted.

Cheers!

Sandeep Tudumu