On Thursday, February 10, 2000 11:50, Sreekumar Pillai [SMTP:[EMAIL PROTECTED]]
wrote:
> How do you specify the errorpage directive in IPlanet(SP2)? (JSP 0.92). The
> following code snippet doesn't work.
>
> I checked the generated servlet from this JSP before and after adding the
> errorpage directive. I can't see any difference in the generated code. Is it
> a bug with IPlanet? Or Am I doing something silly?
>
>
> <%@ errorpage="testerrorPage.jsp"%>
>
> <%
> // the following line should throw a nullpointer exception.
> if ( request.getParameter("dummyvalue").equals( "dummy" ) )
> {
> }
> %>
> .........
>
> testerrorpage.jsp
> -------------------
<%@ page isErrorPage="true" %> ----------- THIS
>
> <body>
>
> <br>
> An exception has occured.
> The name of the exception is : <%=exception.getMessage() %>
>
> </body>
>
robert young
===========================================================================
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