File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes How to config Error Message? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to config Error Message?" Watch "How to config Error Message?" New topic

How to config Error Message?

Kannan Ganesan

Joined: Feb 15, 2007
Posts: 2
I have configure my IBM Webserver to IBM App Server, if my App server is down I am getting error message of 'Internal Server Error' and etc etc.
I need to change to this to custom error message. How to do this?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63873

"Kannan PGS",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

JavaRanch Sheriff

[Asking smart questions] [About Bear] [Books by Bear]
B Sridhar

Joined: Nov 30, 2006
Posts: 2
Use try catch blocks in your application and show custom error messages in your in catch block which you want show...

Regards,<br />B.Sridhar
I agree. Here's the link:
subject: How to config Error Message?
It's not a secret anymore!