RE: How to configure a custom page for JSP 404 errors?

2001-07-31 Thread Gautam Sinha
Pierce Courtney wrote: Thanks for your replies, but this simply does not work for me .. .. .. .. If anyone has actually gotten this to work on Tomcat 3.2.2, Please let me know how you did it. -- Since I needed to display a customized

RE: How to configure a custom page for JSP 404 errors?

2001-07-18 Thread Courtney, Pierce
Hello, I have found a workaround for this problem. You *can* configure Tomcat 3.2.2 to go to a particular page in the case of a 404 (or other error), with this tag: error-page error-code404/error-code location/CustomDefault/location /error-page But, the

RE: How to configure a custom page for JSP 404 errors?

2001-07-09 Thread Hunor Nam
You also MUST set in your error page the faloving tag: %@ page isErrorPage=true % Hades -Original Message- From: Ryan Lubke [mailto:[EMAIL PROTECTED]] Sent: Friday, July 06, 2001 10:29 PM To: [EMAIL PROTECTED] Subject: Re: How to configure a custom page for JSP 404 errors? Hi

RE: How to configure a custom page for JSP 404 errors?

2001-07-09 Thread Courtney, Pierce
Ryan and Hunor (Hades), Thanks for your replies, but this simply does not work for me (perhaps I'm missing something... some other setting one must set in server.xml or something?) I created a simple error.jsp and put this snippet in the main web.xml in /conf/ and also in the web.xml file for my

How to configure a custom page for JSP 404 errors?

2001-07-06 Thread Courtney, Pierce
Hello, This question probably has come up before, I just can't find it in the archives I am using Tomcat 3.2.2 standalone (not with Apache). How can I configure a particular page (servlet, static html, or jsp) to be the default page that comes up if the requested jsp is not found, instead

Re: How to configure a custom page for JSP 404 errors?

2001-07-06 Thread Ryan Lubke
Hi Pierce, From what I've been able to gather, you should be able to set the error page using the error-page directive within the deployment descriptor for a web app (web.xml). error-page error-code404/error-code location/error.jsp/location /error-page Looking through the bug