users@glassfish.java.net

Re: How to change glassfish default 404 error-page

From: <glassfish_at_javadesktop.org>
Date: Fri, 04 Jul 2008 16:57:04 PDT

I had a look at page 148 of the Sun Java System Appliation Server 9.1 Administration Reference (Sept 2007) for information about the send-error_n property.

It is working for my 404 HTTP Status Code; however, it is not working for the 500 HTTP Status Code.

Here is the virtual server property:

Name:send-error_1
Value:code=500 path=custom_errors/error.html

Can anybody help? Thank you.
[Message sent by forum member 'sarota778' (sarota778)]

http://forums.java.net/jive/thread.jspa?messageID=284483