aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Configuring error pages in the DD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Configuring error pages in the DD" Watch "Configuring error pages in the DD" New topic
Author

Configuring error pages in the DD

Jerret Halter
Ranch Hand

Joined: Feb 03, 2006
Posts: 62
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 ]

Jerret Halter<br /> <br /> <blockquote><font size="1" face="Verdana, Arial">quote:</font><hr>If you give someone a program, you will frustrate them for a day; if you teach them how to program, you will frustrate them for a lifetime.<hr></blockquote>
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Is this a JSP thing? Moving there...


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Jerret Halter
Ranch Hand

Joined: Feb 03, 2006
Posts: 62
Sorry about that I was going to post this question to SCWCD.
Shivani Chandna
Ranch Hand

Joined: Sep 18, 2004
Posts: 380
Have you configured in the page throwing the error

<%@page errorPage="error.jsp" %>


/** Code speaks louder than words */
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

If you're using IE, turn the "Show friendly error messages" off.


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Configuring error pages in the DD