users@glassfish.java.net

Re: how to block certain file types in Glassfish v3

From: Dominik Dorn <dominik.dorn_at_gmail.com>
Date: Mon, 15 Mar 2010 09:00:41 +0100

Use the error-page element in your web.xml

e.g.
<error-page>
   <exception-type>404</exception-type>
   <location>/404error.html</location>
</error-page>





-- 
[url=http://www.dominikdorn.com]Dominik Dorn[/url]
Exchange [url=http://www.studyguru.eu] Study Materials [/url] on [url=
http://www.studyguru.eu] Study Guru[/url]!