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
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
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
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 ||
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
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
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