Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Configuring error pages in the DD

 
Jerret Halter
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am practicing working with configuring error pages in my DD, but I cannot handle a "404" error code. So what am I doing wrong? Below is my code.



I then went ahead and created the following page that lead to a page that did not exist



and of course the error.jsp page


[ July 20, 2006: Message edited by: Jerret Halter ]
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this a JSP thing? Moving there...
 
Jerret Halter
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry about that I was going to post this question to SCWCD.
 
Shivani Chandna
Ranch Hand
Posts: 380
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you configured in the page throwing the error

<%@page errorPage="error.jsp" %>
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're using IE, turn the "Show friendly error messages" off.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic