Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Defining ErrorDocument in Websphere 5.0.1

 
Bikramjit Singh Bajwa
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I am encountring a very common problem in websphere server. But i am not able to find its solution. I want to define my own Error Document pages in websphere 5.0.1. If someone has done it already, then please let me know as as possible.
Thanks in advance
Bikram
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34410
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bikram,
Error pages for what? Are you trying to define error messages for a website or something else?
 
Bikramjit Singh Bajwa
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah exactly,
If any exception occured at runtime, then i want to define my own error page instead of Servers error page.
Regards,
Bikram
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Error pages are defined in the web.xml deployment descriptor. This is described in the Servlet specification. Look in Section SRV 9.9.2 of the Servlet 2.3 spec.
Kyle
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic