users@glassfish.java.net

customize HTTP 404 on Sun Java Application server 8.1

From: <glassfish_at_javadesktop.org>
Date: Thu, 18 Sep 2008 03:14:19 PDT

Hi all,

I am trying to customize the default HTTP error 404 page on Sun Java Application Server 8.1. I found how to do that in SJAS 9.1 in another thread:

In domain.xml, this property is specified as follows:

<property name="send-error_1" value="path=<resource_1> reason=<reason-string_1> code=<error-code_1>"/>

Would this work for 8.1 as well? If not how can this be achieved?

Thanks in advance

Sergio
[Message sent by forum member 'sbenis' (sbenis)]

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