Perhaps someone can explain what is going wrong here.

        I'm trying to get an error page to work, here is the first page I call:

-----
<%@ page language="java" errorPage="error.jsp" %>

<% bad script; %>
-----

Obviousley this fails to compile, so the errorpage referenced should be
called:

-----
<%@ page language="java" isErrorPage="true" %>

<HTML>
<HEAD>
<TITLE>Error Page</TITLE>
</HEAD>
<BODY>
An error occured
</BODY>
</HTML>
-----

Which does nothing, just explains what happenned. But this doesn't happen
the JSWDK just reports that it could not compile the page and suggests that
I should try using an errorpage to explain this problem.

Why doesn't this work?

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to