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

<body>

<br>
        An exception has occured.
        The name of the exception is : <%=exception.getMessage() %>

</body>


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

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