u need to create errorpage.jsp with the page directive
isErrorPage=true





Franck Samson <[EMAIL PROTECTED]>@java.sun.com> on 04/09/2001
11:04:46 AM

Please respond to A mailing list about Java Server Pages specification
      and reference <[EMAIL PROTECTED]>

Sent by:  A mailing list about Java Server Pages specification and
      reference <[EMAIL PROTECTED]>


To:   [EMAIL PROTECTED]
cc:
Subject:  Exception


I tried this kind of jsp :
<%@ page errorPage="errorpage.jsp" %>
<jsp:useBean id="myFoo" scope="page" class="foo" type="foo" />
<jsp:setProperty name="myFoo" property="name" />

And when I make a mistake on the web page I've got this exception
error
org.apache.jasper.JasperException
 I don't know why?...

______________________________________________________________________________

Franck Samson                                       Tél: +33 (0)
1.60.87.45.15
INRA URGV                                                +33 (0)
6.08.58.91.44
2 Rue Gaston Crémieux                               Fax: +33 (0)
1.60.87.45.10
CP 5708 91057 Évry Cedex                          Email:
[EMAIL PROTECTED]

===========================================================================

To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to