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