Sorry but with JRUN 2.3 I can use ERRORPAGE directive for compilation error,
but I have some troubel to get the exception bean back...

Just try to put the all path of your error page
<% ERRORPAGE="/Blabla.jsp" %>

(it's seem to work better with FULL PATH, and JSP Url (ERRORPAGE to an HTML UTL cause 
some trouble in my configuration....) :-(


On Tue, 27 Apr 1999 00:09:17 +0200, Magnus Stenman <[EMAIL PROTECTED]> wrote:

>No, the ERRORPAGE directive only concerns runtime errors, not compilation
>errors. At least that is how it's implemented in Orion and apparently in the
>reference implementation too. I'm glad to hear that the reference impl acts
>the same (that we interpreted the spec correctly). :)
>
>/Magnus Stenman
>http://orion.evermind.net
>
>-----Original Message-----
>From:   A mailing list about Java Server Pages specification and
>reference [mailto:[EMAIL PROTECTED]] On Behalf Of fred muhlenberg
>Sent:   den 26 april 1999 21:38
>To:     [EMAIL PROTECTED]
>Subject:        ERRORPAGE directive
>
>Does the ERRORPAGE directive actually work in the reference implementation
>-or- is there some trick I'm missing?
>
>If I (intentionally) don't have a compiled bean, I watch the reference
>implementation spew compilation errors to standard out.  Shouldn't I be
>redirected to my error page?
>
>[my simple code]
>
>Error.jsp
><HTML>
><HEAD>
><TITLE>
>Search Error
></TITLE>
></HEAD>
><BODY>
><p>
>An error has occured on your Service Request Search.
></BODY>
></HTML>
>
>Search.jsp
><HTML>
><HEAD>
><TITLE>
>Search
></TITLE>
></HEAD>
><BODY>
><%@ ERRORPAGE="Error.jsp" %>
><USEBEAN NAME="srchReq" TYPE="SearchBean" LIFESPAN=page>
><SETFROMREQUEST BEANPROPERTY="*">
></USEBEAN>
><p>
>Should't get here....  :(
></BODY>
></HTML>
>
>SearchBean.java
>There is no code.
>
>
>-Fred
>
> ==========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff JSP-INTEREST".  For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".
>
> ==========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff JSP-INTEREST".  For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to