users@glassfish.java.net

Re: Changing default error pages

From: Amy Roh <amy.roh_at_oracle.com>
Date: Thu, 15 Apr 2010 10:46:23 -0700

Martin,

The following should work

<property name="send-error_1"
   value="code=401 path=/myhost/401.html reason=MY-401-REASON"/>

The path above specifies the absolute or relative file system path of
the custom error page. A relative file system path is interpreted as
relative to the *domain-dir/config* directory.

 From earlier description, it looks like the user put the default error
page in domain1/docroot and not in domain1/config directory.

Amy

Martin Gainty wrote:
> Good Morning Douglas
>
> Very interested to know your solution
>
> thanks!
> Martin Gainty
> ______________________________________________
> Note de déni et de confidentialité
>
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
>
>
>
>
>
> > Date: Thu, 15 Apr 2010 03:44:53 -0700
> > From: glassfish_at_javadesktop.org
> > To: users_at_glassfish.dev.java.net
> > Subject: Re: Changing default error pages
> >
> > Issue solved
> >
> > Many thanks guys
> >
> > Doug
> > [Message sent by forum member 'dougreed765']
> >
> > http://forums.java.net/jive/thread.jspa?messageID=397091
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> > For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> >
>
> ------------------------------------------------------------------------
> The New Busy is not the too busy. Combine all your e-mail accounts
> with Hotmail. Get busy.
> <http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4>