RE: error-page not working

2005-08-09 Thread Marius Hanganu
] Sent: Tuesday, August 09, 2005 7:29 AM To: tomcat-user@jakarta.apache.org Subject: error-page not working Hi; I am using JSF - although that should not make a difference. In web.xml I have: error-page exception-typejava.lang.Throwable/exception-type location

RE: error-page not working

2005-08-09 Thread David Thielen
That's not it - the file is over 2K in size. ??? - thanks - dave David Thielen 303-499-2544 www.windwardreports.com -Original Message- From: Marius Hanganu [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 09, 2005 1:47 AM To: Tomcat Users List Subject: RE: error-page not working

error-page not working

2005-08-08 Thread David Thielen
Hi; I am using JSF - although that should not make a difference. In web.xml I have: error-page exception-typejava.lang.Throwable/exception-type location/errorpage.jsp/location /error-page And in my event handler I have: throw new NullPointerException(hi

error-page not working for error-code 503?

2005-05-19 Thread Raymond
- Original Message - From: Raymond [EMAIL PROTECTED] To: Tomcat Users tomcat-user@jakarta.apache.org Sent: Wednesday, May 18, 2005 9:54 PM Subject: error-page not working for error-code 503? Hi, I have these in my tomcat server's global web.xml file: error-page error-code404/error-code

error-page not working for error-code 503?

2005-05-19 Thread Raymond
Hi, I have these in my tomcat server's global web.xml file: error-page error-code404/error-code location/http404.jsp/location /error-page error-page error-code503/error-code location/maintenance.html/location /error-page It works for the 404 but not the 503 error code. What's wrong with it? I

Re: error-page not working for error-code 503?

2005-05-19 Thread Anto Paul
On 5/19/05, Raymond [EMAIL PROTECTED] wrote: Hi, I have these in my tomcat server's global web.xml file: error-page error-code404/error-code location/http404.jsp/location /error-page error-page error-code503/error-code location/maintenance.html/location /error-page It

error-page not working for error-code 503?

2005-05-18 Thread Raymond
Hi, I have these in my tomcat server's global web.xml file: error-page error-code404/error-code location/http404.jsp/location /error-page error-page error-code503/error-code location/maintenance.html/location /error-page It works for the 404 but not the 503 error code. What's wrong with it? I

RE: error-page not working for error-code 503?

2005-05-18 Thread GDavis
- From: Raymond [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 9:54 AM To: Tomcat Users Subject: error-page not working for error-code 503? Hi, I have these in my tomcat server's global web.xml file: error-page error-code404/error-code location/http404.jsp/location /error-page error

RE: error-page not working properly

2004-12-13 Thread Shapira, Yoav
://www.yoavshapira.com -Original Message- From: Chris Cherrett [mailto:[EMAIL PROTECTED] Sent: Sunday, December 12, 2004 8:23 AM To: Tomcat Users List Subject: error-page not working properly Hello I have searched this topic on google to find the following to be true: catching 500 or 404

RE: error-page not working properly

2004-12-13 Thread Mike Curwen
Message- From: Chris Cherrett [mailto:[EMAIL PROTECTED] Sent: Sunday, December 12, 2004 7:23 AM To: Tomcat Users List Subject: error-page not working properly Hello I have searched this topic on google to find the following to be true: catching 500 or 404 error does not work in Tomcat

RE: error-page not working properly

2004-12-13 Thread Steve Kirk
-Original Message- From: Chris Cherrett [mailto:[EMAIL PROTECTED] Is there a way to catch all exceptions that works in Tomcat 5 You can catch all Exceptions/Throwables and their subclasses by configuring java.lang.Exception or java.lang.Throwable in the error-type tag. However

Re: error-page not working properly

2004-12-13 Thread Chris Cherrett
Seems that I have preformed an ID10T error! Thanks for the help error-code != exception-type Thanks for the help On December 13, 2004 01:13 pm, Steve Kirk wrote: -Original Message- From: Chris Cherrett [mailto:[EMAIL PROTECTED] Is there a way to catch all exceptions that works

error-page not working properly

2004-12-12 Thread Chris Cherrett
Hello I have searched this topic on google to find the following to be true: catching 500 or 404 error does not work in Tomcat 5 like this error-page exception-type500/exception-type location/error.jsp/location /error-page error-page exception-type404/exception-type

RE: Tomcat error-page not working (was: RE: Tomcat and checked vs. unchecked exceptions)

2004-03-16 Thread Wendy Smoak
A while ago, Yoav Shapira wrote: I asked if it's the nice IE error pages or the actual tomcat ones. There's an IE setting in Internet Options along the lines of Display Friendly Error Pages that can mask the server's error pages if enabled, and it's enabled by default on some platforms. I

RE: Tomcat error-page not working (was: RE: Tomcat and checked vs.

2004-03-16 Thread Michael Davis
Hi, This is really easy with jsp. I'm doing something similar. I don't have the code here, but it goes something like: in servlet.java: HttpRequest req; // this is passed to you HttpSession sess = req.getSession(); sess.setAttribute( errorMessage, Something terrible has happened. ); And I

RE: Tomcat error-page not working (was: RE: Tomcat and checked vs. unchecked exceptions)

2004-02-26 Thread Shapira, Yoav
Howdy, Yoav, this is Tomcat-only, on my development box, so no Apache error pages. Great, but that's not what I asked ;) I asked if it's the nice IE error pages or the actual tomcat ones. There's an IE setting in Internet Options along the lines of Display Friendly Error Pages that can mask

RE: Tomcat error-page not working (was: RE: Tomcat and checked vs. unchecked exceptions)

2004-02-25 Thread Shapira, Yoav
Howdy, error-page exception-typejavax.servlet.ServletException/exception-type location/WEB-INF/jsp/exceptions/ServletException.jsp/location /error-page (in the appropriate place, at the bottom just above /web-app) When this code executes: if ( report == null ||

RE: Tomcat error-page not working (was: RE: Tomcat and checked vs. unchecked exceptions)

2004-02-25 Thread Evgeny Gesin
This is JSP rather than Tomcat question, but I hope for a reply. I have a JSP with the following jsp:plugin code: jsp:plugin type=applet code=com.package.Applet.class codebase=/application1/applets/ width=50 height=50 /jsp:plugin Web applications, which run this applet, specify different

Re: Tomcat error-page not working (was: RE: Tomcat and checked vs. unchecked exceptions)

2004-02-25 Thread Jerry Ford
Wendy: Here's your problem: location/WEB-INF/jsp/exceptions/ServletException.jsp/location JSPs can't be run from inside the WEB-INF directory. Try moving your jsp/exceptions directory up one level. Jerry Wendy Smoak wrote: From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Try

RE: Tomcat error-page not working (was: RE: Tomcat and checked vs. unchecked exceptions)

2004-02-25 Thread Wendy Smoak
From: Jerry Ford [mailto:[EMAIL PROTECTED] Wendy: Here's your problem: location/WEB-INF/jsp/exceptions/ServletException.jsp/location JSPs can't be run from inside the WEB-INF directory. Try moving your jsp/exceptions directory up one level. All of my JSP's are under WEB-INF, and they work

Tomcat error-page not working (was: RE: Tomcat and checked vs. unchecked exceptions)

2004-02-24 Thread Wendy Smoak
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Try exception-typejava.lang.RuntimeException/exception-type, as that's the superclass for unchecked exceptions and you probably want to handle them all the same (if you want to handle them at all, which apparently you do). I don't understand.

web.xml error-page not working for 500 errors

2003-02-04 Thread Jay Wright
I have configured my webapp to serve up error pages via the web.xml file: error-page error-code500/error-code location/general_error.html/location /error-page error-page error-code404/error-code location/general_error.html/location /error-page

Re: web.xml error-page not working for 500 errors

2003-02-04 Thread Sean Dockery
I would speculate that the 500 status code is being set inside the default exception handling code--which probably fall outside the error-page forwarding mechanism. Instead of triggering an exception, what happens when you use HttpSessionResponse.setStatus(500) in a servlet? I would not

RE: web.xml error-page not working for 500 errors

2003-02-04 Thread Jay Wright
Thanks Sean! The error-page exception-type was EXACTLY what I needed. Much appreciated. Jay -Original Message- From: Sean Dockery [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 3:11 PM To: Tomcat Users List Subject: Re: web.xml error-page not working for 500 errors

TC4.0.1 - 500 error-page not working

2001-10-26 Thread Brett Porter
Hi, I've implemented a JSP page for handling 500 errors, but its not working. A similar page works fine for 404 errors coming from Tomcat. The error in question is a NullPointerException, but this shouldn't matter. From web.xml: error-page error-code500/error-code

Re: TC4.0.1 - 500 error-page not working

2001-10-26 Thread Remy Maucherat
Hi, I've implemented a JSP page for handling 500 errors, but its not working. A similar page works fine for 404 errors coming from Tomcat. The error in question is a NullPointerException, but this shouldn't matter. From web.xml: error-page error-code500/error-code

[TC4] exception error-page not working

2001-09-22 Thread Manri Offermann
I'm having trouble getting TC4 to display the error page specified in web.xml when my servlet or jsp throws an Exception. I just get the default HTTP 500 error page A Servlet Exception Has Occurred. Below are the lines from web.xml. What is wrong? error-page

error-page not working in TC 3.2

2001-08-24 Thread Jim Urban
Ok, I give up, what am I doing wrong? I want to provide my own error pages for certain conditions and I can't seem to get the error-page tag to work. Here is an example of what I put in my web.xml file: error-page exception-typejava.sql.SQLException/exception-type

Re: error-page not working in TC 3.2

2001-08-24 Thread Rob S.
Ok, I give up, what am I doing wrong? I dunno, what happens in the browser and what's output in the log? - r

RE: error-page not working in TC 3.2

2001-08-24 Thread Jim Urban
: Friday, August 24, 2001 9:39 AM To: [EMAIL PROTECTED] Subject: Re: error-page not working in TC 3.2 Ok, I give up, what am I doing wrong? I dunno, what happens in the browser and what's output in the log? - r

custom error page not working in TC40-b7

2001-08-23 Thread Peiqiang Han
I have some problems to make custome error pages working. I have done my test with TC40-b7 on Linux Redhat 7.1 Kernel 2.4.2. 1) The servlet ErrorHandlingServlet.java is in $CATALINA_HOME/webapps/test/WEB-INF/classes: import javax.servlet.*; import javax.servlet.http.*; import

Re: custom error page not working in TC40-b7

2001-08-23 Thread Craig R. McClanahan
See intermixed. On Thu, 23 Aug 2001, Peiqiang Han wrote: Date: Thu, 23 Aug 2001 19:52:11 +0500 From: Peiqiang Han [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: custom error page not working in TC40-b7 I have some problems to make custome error pages

error-page not working with tomcat 3.2.3

2001-08-15 Thread Taavi Tiirik
I have ... /welcome-file-list error-page error-code404/error-code location/error404.jsp/location /error-page taglib ... in my web.xml file and for some reason it is not enough to get error404.jsp to show up when I

error page not working...

2001-01-11 Thread Chris Wilson
hello, i'm running tomcat 4.0b1. i have the following entries in my web.xml error-page error-code403/error-code location/sorry.jsp/location /error-page error-page error-code404/error-code location/sorry.jsp/location /error-page i'm using form based login and that works fine. if i