errorpage.jsp
hi all, how do i use an errorpage which catches all the exception? thanks. regards, ced "Never let yesterday's disappointments overshadow tomorrow's dreams" === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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
Re: errorpage.jsp
Chin Sung Kit£¬ÄúºÃ£¡ have a look at the examples which is in Jswk ÔÚ 00-10-30 15:29:00 ÄúдµÀ£º >hi all, > >how do i use an errorpage which catches all the exception? > >thanks. > >regards, >ced > >"Never let yesterday's disappointments overshadow tomorrow's dreams" > >=== >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". >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 Ö Àñ£¡ ycd [EMAIL PROTECTED] === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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
Re: errorpage.jsp
Hi Chin Try out this jsp page as your error page <%@ page import="java.util.Enumeration" isErrorPage="true" %> Error Page Our Error Page We got ourselves an exception: <%= exception %> Application Attributes <% Enumeration appAttributeEnum = application.getAttributeNames(); while (appAttributeEnum.hasMoreElements()) { String name = (String)appAttributeEnum.nextElement(); %> <%= name %> <%= application.getAttribute(name) %> <% } %> Request Attributes <% Enumeration attributeEnum = request.getAttributeNames(); while (attributeEnum.hasMoreElements()) { String name = (String)attributeEnum.nextElement(); %> <%= name %> <%= request.getAttribute(name) %> <% } %> Parameters <% Enumeration parameterEnum = request.getParameterNames(); while (parameterEnum.hasMoreElements()) { String name = (String)parameterEnum.nextElement(); %> <%= name %> <%= request.getParameter(name) %> <% } %> Regards Jitesh Gangwani - Original Message - From: Chin Sung Kit <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 30, 2000 12:59 PM Subject: errorpage.jsp > hi all, > > how do i use an errorpage which catches all the exception? > > thanks. > > regards, > ced > > "Never let yesterday's disappointments overshadow tomorrow's dreams" > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > 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". 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
Re: errorpage.jsp
Hi you can use the following code for your error page. and later call this page on your JSP page <%@page errorPage="errorpage.jsp" %> like this. <%@ page isErrorPage="true" %> Error: <%=exception.getMessage() %> has been reported. Tasneem Talawala JSP Developer [EMAIL PROTECTED] www.verchaska.com Verchaska - Helping your bussiness succeed - Original Message - From: "Chin Sung Kit" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 30, 2000 12:59 PM Subject: errorpage.jsp > hi all, > > how do i use an errorpage which catches all the exception? > > thanks. > > regards, > ced > > "Never let yesterday's disappointments overshadow tomorrow's dreams" > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > 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". 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
Re: errorpage.jsp - i found it already
never mind guys, i found it in the java's tutorial already! thanks :) Chin Sung Kit wrote: > hi all, > > how do i use an errorpage which catches all the exception? > > thanks. > > regards, > ced > > "Never let yesterday's disappointments overshadow tomorrow's dreams" > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > 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 "Never let yesterday's disappointments overshadow tomorrow's dreams" === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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
Re: errorpage.jsp - i found it already
Hi can you tell me where the tutorial if possible give me the web address -suresh - Original Message - From: "Chin Sung Kit" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 30, 2000 1:33 PM Subject: Re: errorpage.jsp - i found it already > never mind guys, i found it in the java's tutorial already! > > thanks :) > > Chin Sung Kit wrote: > > > hi all, > > > > how do i use an errorpage which catches all the exception? > > > > thanks. > > > > regards, > > ced > > > > "Never let yesterday's disappointments overshadow tomorrow's dreams" > > > > === > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > > 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 > > > > > "Never let yesterday's disappointments overshadow tomorrow's dreams" > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > 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". 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
Re: errorpage.jsp - i found it already
hi suresh, here it is, http://java.sun.com/products/jsp/html/exceptions.fm.html Suresh kumar K Badiga wrote: > Hi > can you tell me where the tutorial if possible give me the web address > > -suresh > > - Original Message - > From: "Chin Sung Kit" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, October 30, 2000 1:33 PM > Subject: Re: errorpage.jsp - i found it already > > > never mind guys, i found it in the java's tutorial already! > > > > thanks :) > > > > Chin Sung Kit wrote: > > > > > hi all, > > > > > > how do i use an errorpage which catches all the exception? > > > > > > thanks. > > > > > > regards, > > > ced > > > > > > "Never let yesterday's disappointments overshadow tomorrow's dreams" > > > > > > > === > > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > > > 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 > > > > > > > > > > "Never let yesterday's disappointments overshadow tomorrow's dreams" > > > > > === > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > > 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". > 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". 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