Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error page on Glassfish  RSS feed

Steve Coombes
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!