File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Java Products and Servers and the fly likes Error page on Glassfish Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Error page on Glassfish" Watch "Error page on Glassfish" New topic

Error page on Glassfish

Steve Coombes

Joined: Feb 09, 2012
Posts: 3

I would like to configure my web application to use an error page. I'm sure I've done this before on Tomcat and it worked fine.

But I can't get it to work with Glassfish 2 or 3. I've tried configuring the page in web.xml and in JSP's. I've tried using Servlet spec 2.5 and 2.6.

Every time I throw an exception I just get the default Glassfish error page. I read that any application error pages should override the default error page, but this isn't happening.

I must be doing something wrong, but it's such a simple process that it's hard to see what exactly.

Kind regards

I agree. Here's the link:
subject: Error page on Glassfish
It's not a secret anymore!