users@glassfish.java.net

Re: Change Glassfish V3 Prelude default 404 error-page

From: Steve Essery <Steve.Essery_at_Sun.COM>
Date: Wed, 24 Feb 2010 10:47:55 +0000

Perhaps under

\glassfish\domains\domain1\docroot

?

On 23/02/2010 19:41, glassfish_at_javadesktop.org wrote:
> Hi from Mexico! I'm in trouble, I need to configure custom error pages for Glassfish V3 prelude and I'm using the error-code into the domain.xml like this:
>
> <property name="send-error_1" value="code=404 path=/errors/404.html reason=MY-404-REASON"/>
>
> under docroot element into virtual-server. Where did I place the /errors/ folder? I place it into \glassfishv3-prelude\glassfish\domains\domain1\config but i can't see my 404 page, I only get the IE error page:
>
> HTTP 404 - File not found
> Internet Explorer
>
> Any ideas to why I can't see my custom page? It's correct my /errors/ folder localization?
>
> Can anybody help? Thank you.
> [Message sent by forum member 'plotemyorma' (plotem.yorma_at_gmail.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=388279
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>