users@glassfish.java.net

How to hide or customize status pages?

From: <glassfish_at_javadesktop.org>
Date: Mon, 03 Mar 2008 02:31:58 PST

Hi - I've had a request to hide the information that the status page (or error report page) gives from Glassfish/Sun App Server. For instance if you generate an http 404 you'll typically see this info:

HTTP Status 404 -

type Status report

message

descriptionThe requested resource () is not available.
Sun Java System Application Server 9.1


which gives away info about the app server. Is it possible to remove the app server type/version string in these pages or customize them in some other way? Can't find any config settings but I could be missing something.
[Message sent by forum member 'ocoro02' (ocoro02)]

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