• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error page on Glassfish

 
Steve Coombes
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic