So I guess you should write this directive at some place in every page and that's it.
Thanks a lot, Julia -----Mensaje original----- De: Gunaseelan Nagarajan [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 21 de junio de 2002 11:19 Para: [EMAIL PROTECTED] Asunto: Re: How to prevent tomcat from showing errors to the user? hi, you can use the errorpage directive to show a genreal page when any exceptions are thrown. like .. <%@ page language="java" errorPage="/error/ErrorPage.jsp" %> regards, Nagarajan On Friday 21 June 2002 11:13, you wrote: > Hi all! > > I've developed a JSP site which works fine. Only once in a while a get a > jsp error, for example if the user goes to fast or if he uses a page after > a long time and things like that. Since I don't know yet how to fix this > eventual errors, I'd like to know if it's possible to configurate the > server so it doesn't show errors JSP errors to the client. > > Any ideas? > > Thanks in advance, > Julia > > > ----------------------------------------------------------------- > Este correo electr�nico y, en su caso, cualquier fichero anexo al mismo, > contiene informaci�n de car�cter confidencial exclusivamente dirigida a su > destinatario o destinatarios. Queda prohibida su divulgaci�n, copia o > distribuci�n a terceros sin la previa autorizaci�n escrita de Indra. En el > caso de haber recibido este correo electr�nico por error, se ruega > notificar inmediatamente esta circunstancia mediante reenv�o a la direcci�n > electr�nica del remitente. > ----------------------------------------------------------------- > The information in this e-mail and in any attachments is confidential and > solely for the attention and use of the named addressee(s). You are hereby > notified that any dissemination, distribution or copy of this communication > is prohibited without the prior written consent of Indra. If you have > received this communication in error, please, notify the sender by reply > e-mail. ----------------------------------------------------------------- > > 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://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com =========================================================================== 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com ----------------------------------------------------------------- Este correo electr�nico y, en su caso, cualquier fichero anexo al mismo, contiene informaci�n de car�cter confidencial exclusivamente dirigida a su destinatario o destinatarios. Queda prohibida su divulgaci�n, copia o distribuci�n a terceros sin la previa autorizaci�n escrita de Indra. En el caso de haber recibido este correo electr�nico por error, se ruega notificar inmediatamente esta circunstancia mediante reenv�o a la direcci�n electr�nica del remitente. ----------------------------------------------------------------- The information in this e-mail and in any attachments is confidential and solely for the attention and use of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this communication is prohibited without the prior written consent of Indra. If you have received this communication in error, please, notify the sender by reply e-mail. ----------------------------------------------------------------- ==========================================================================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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
