Re: Changing an Error Message

Sacha Michel Mallais <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
On Jun 7, 2007, at 8:55 AM, Jeff Dunnett wrote:

> Hello Folks,
>
> I have what seems like a question that should have a very simple  
> answer but unfortunately I can't find or figure out what the answer  
> should be.
>
> I was wondering how to go about changing the error message a person  
> receives whenever an application/instance they are seeing is not  
> available.
>
> For example I have an application that can be accessed at:
>
> http://my-domain.com/cgi-bin/WebObjects/MyApp.woa/1
>
> If for instance the application went down.  Is there any way to  
> change the error message so that they see "We sorry but the  
> application is not available at the moment.  Please come back  
> later" rather then "The requested application was not found on this  
> server."

Yes: use JavaMonitor to set a Redirection URL under Load Balancing  
and Adaptor Settings.


sacha


-- 
Sacha Michel Mallais             Senior Developer / President
Global Village Consulting Inc.   http://www.global-village.net/
PGP Key ID: 7D757B65             AIM: smallais
"The bird of paradise alights only upon the hand that does not  
grasp."  -- John Berry
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.