Well.. You could use JRun with IPlanet for JSP1.0. But you might have to
configure servlets also through JRun if you want to use both Servlets and
JSP in the same application (Sharing the session is a problem). I was
thinking about doing it, but couldn't find any documentation for connecting
JRun with IPlanet. Wisely, decided to go with JSP 0.92.


1. The errorpage directive seem to work when I give relative path. But now I
am faced with the problem of displaying the error.


Errorpage.jsp
-------------

<body>

        An exception has occured.
        The details: <%=exception.getMessage() %>

</body>
</html>

This itself throws a nullpointer exception!


If I remove exception.getMessage(), this works fine.

<body>

        An exception has occured.
        The details:

</body>
</html>



Sree



>From: Naeem Ahmed <[EMAIL PROTECTED]>
>To: Sreekumar Pillai <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: Errorpage directive and IPlanet 4.0 SP3
>Date: Thu, 10 Feb 2000 14:54:28 -0500 (EST)
>
>I don't have an answer for your question, but I've also been facing
>similar problems with IPlanet related to error and exception handling.
>
>Question: Does anyone know how to upgrade IPlanet JSP 0.92 to JSP 1.1 ?
>
>I've been using the JSWDK for development, and my .jsp's seem to work
>there.
>
>
>On Thu, 10 Feb 2000, Sreekumar Pillai 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
> > -------------------
> >
> > <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
> >
>

______________________________________________________
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