users@glassfish.java.net

Re: How to change glassfish default 404 error-page

From: <glassfish_at_javadesktop.org>
Date: Mon, 09 Jun 2008 14:25:24 PDT

Something like this:

<virtual-server [...] id="server" >
  <property name="docroot" value="${com.sun.aas.instanceRoot}/docroot"/>
  <property name="send-error_1" value="path=content/my_nice_errors/404.html reason=Resource_not_found code=404"/>
</virtual-server>
[Message sent by forum member 'jluehe' (jluehe)]

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