wood burning stoves 2.0*
The moose likes Websphere and the fly likes Defining ErrorDocument in Websphere 5.0.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Defining ErrorDocument in Websphere 5.0.1" Watch "Defining ErrorDocument in Websphere 5.0.1" New topic
Author

Defining ErrorDocument in Websphere 5.0.1

Bikramjit Singh Bajwa
Ranch Hand

Joined: Nov 23, 2003
Posts: 39
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30352
    
150

Bikram,
Error pages for what? Are you trying to define error messages for a website or something else?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Bikramjit Singh Bajwa
Ranch Hand

Joined: Nov 23, 2003
Posts: 39
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

Joined: Aug 10, 2001
Posts: 3892
    
    5
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


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Defining ErrorDocument in Websphere 5.0.1