wood burning stoves*
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
Author

Error page on Glassfish

Steve Coombes
Greenhorn

Joined: Feb 09, 2012
Posts: 3
Hello,

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

Steve
 
 
subject: Error page on Glassfish