RE: HTTP 500 Error occurs whith errorPage directive in Tomcat 5.5 .9

2005-09-21 Thread Bachler, Elisabeth (Elisabeth)
Hello again, I managed to make it work but I am having another problem. I normally prevent the user from going backward using the following line: javascript:window.history.forward(1); Now, it works perfectly with the other page but not with errorPage=true. Is it Tomcat? or another problem

RE: HTTP 500 Error occurs whith errorPage directive in Tomcat 5.5 .9

2005-09-21 Thread Bachler, Elisabeth (Elisabeth)
: HTTP 500 Error occurs whith errorPage directive in Tomcat 5.5.9 Elisabeth, Could you post a small snippet of your code, then I will try and have a look at what is going on. Regards Jason -- Jason Bell Lead Architect, SpikeSource Europe e: [EMAIL PROTECTED] w: http://www.spikesource.com b

RE: HTTP 500 Error occurs whith errorPage directive in Tomcat 5.5.9

2005-09-21 Thread Jason Bell
Elisabeth, Could you post a small snippet of your code, then I will try and have a look at what is going on. Regards Jason -- Jason Bell Lead Architect, SpikeSource Europe e: [EMAIL PROTECTED] w: http://www.spikesource.com b: http://jasonbell.blog-city.com m: +44 (0)787 529 2693 ---

HTTP 500 Error occurs whith errorPage directive in Tomcat 5.5.9

2005-09-21 Thread Bachler, Elisabeth (Elisabeth)
Hello, I am using Tomcat 5.5.9 and I have found out that the errorPage directive is not working. I always get a HTTP 500 ERROR. I can solve the problem handling excpetion but I don't want to do it. I want to use the errorPage.jsp Looking into Google, I found out the following comment but I

RE: Buffering and redirection to the errorPage

2004-11-11 Thread Carl Olivier
fering and redirection to the errorPage On Thu, Nov 11, 2004 at 11:28:21AM +1100, Derek Clarkson wrote: > This sounds like something I have encountered. The basic question is > that how do you redirect to an error page if youa re writing to the > output stream rather than going to anoth

Re: Buffering and redirection to the errorPage

2004-11-11 Thread Steven J. Owens
On Thu, Nov 11, 2004 at 11:28:21AM +1100, Derek Clarkson wrote: > This sounds like something I have encountered. The basic question is > that how do you redirect to an error page if youa re writing to the > output stream rather than going to another JSP, and have an > exception ? I thought I

RE: Buffering and redirection to the errorPage

2004-11-10 Thread Derek Clarkson
-8000 x8041 "It's not a bug - it's an undocumented feature!" -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Thursday, 11 November 2004 1:09 AM To: Tomcat Users List Subject: Buffering and redirection to the errorPage Greetings. I have a q

RE: Buffering and redirection to the errorPage

2004-11-10 Thread Mike Curwen
> If an exception is thrown AFTER 8kb has been written (and the > initial chunks has been committed) then the redirection to the > errorPage (if specified) does not occur. Does this sound right? > That sounds 100% correct. > Is there anyway to enforce the redirection to the

Buffering and redirection to the errorPage

2004-11-10 Thread Carl Olivier
Greetings. I have a question with regards buffering of output and subsequent errorPage redirection. Maybe I am missing something. The default buffer size for a JSP page response is 8kb. If an exception is thrown AFTER 8kb has been written (and the initial chunks has been committed) then the

errorPage and jdom

2004-03-12 Thread Gaurav Kadyan
Hi All, I am facing a problem as soon as i include jdom.jar (which i have download from http://www.jdom.org/dist/binary/) my <%@ page errorPage%> and do not display anything in the browser.Even though the files pointed by them are getting processed - as i can see that on the console. Is

default errorPage being displayed

2004-03-09 Thread Gaurav Kadyan
Hi All, I am facing a problem in Tomcat version 5.0.16. When I throw an exception in a page then it should be redirected to error.jsp. The error.jsp is then processed .This i can see in the console.But after that when i look in the browser the page shown is "HTTP 404 Not Found". I have checked t

Re: errorpage

2003-10-08 Thread Jon Wingfield
to go to my errorpage. but - how can i get the exception inside that errorpage? i want to print the error-message from it to the screen. thanks yair - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: errorpage

2003-10-08 Thread Shapira, Yoav
ED] >Subject: errorpage > >hey >If i've defined an error page on my web.xml, and than some page threw an >exception, the tomcat is supposed to go to my errorpage. but - how can i >get the exception inside that errorpage? i want to print the error-message >from it to the

errorpage

2003-10-08 Thread Yair Ben-meir
hey If i've defined an error page on my web.xml, and than some page threw an exception, the tomcat is supposed to go to my errorpage. but - how can i get the exception inside that errorpage? i want to print the error-message from it to the screen. thanks yair

Re: Bug with absolute Paths? errorPage="/error.jsp"

2003-06-05 Thread Tim Shaw
Absolute paths are relative to the context. Makes it easier to avoid problems :-) tim Reinhard Moosauer wrote: Hello List, when using absolute Paths in JSPs errorPage-Directive, I get unexpected behavior: A path "/error.jsp" should go to this page: http://myserver.com/error.jsp

Bug with absolute Paths? errorPage="/error.jsp"

2003-06-05 Thread Reinhard Moosauer
Hello List, when using absolute Paths in JSPs errorPage-Directive, I get unexpected behavior: A path "/error.jsp" should go to this page: http://myserver.com/error.jsp At least I did expect this. Instead, it forwards all errors to: http://myserver.com/context/error.jsp This means: A

errorPage content is postfixed to "include"d content of my original page before error occured. What gives?

2002-11-19 Thread john lukar
Hi. I have error page defined in my jsp file. upon getting an error, the error page is successfully shown. However, in my jsp file, I have a include directive for the top menu portion. The error occurs half way down the page. When error occurs, the control is redirected to error page, howe

global errorpage?

2002-08-15 Thread Power-Netz \(Schwarz\)
Hi, which was the server.xml or apps-??.xml option to set an errorpage i.e. for page not found errors .. ??? TC 3.3.2 thx Ihr Support-Team >>> POWER-NETZ® Full-Service-Provider <<< Online-Support: Support: 0190 - 15 11 15 (EUR 0,62/Min) http://Support.Power-

error-page vs. errorPage

2002-07-12 Thread Jay Burgess
Can someone explain the relationship between the element in my webapp's WEB.XML versus the "errorPage" attribute of the page directive within a JSP? I'm trying to create a single error page that handles any exceptions generated by the JSPs within my webapp, without havin

RE: Using errorPage

2002-03-05 Thread Peter Lewandowski
Is there any way to redirect on exceptions thrown when a page is compiles by tomcat?? /Peter > -Original Message- > From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] > Sent: den 5 mars 2002 16:07 > To: Tomcat Users List > Subject: AW: Using errorPage > > > If

AW: Using errorPage

2002-03-05 Thread Ralph Einfeldt
L PROTECTED]] > Gesendet: Dienstag, 5. März 2002 15:34 > An: 'Tomcat Users List' > Betreff: Using errorPage > In my jsp page I create an exception, but I am never > redirected to my error > page. Have I forgotten anything? Do I have to set something up in the >

RE: Using errorPage

2002-03-05 Thread Peter Lewandowski
Yes , I'm throwing an exception. A nullPointerException. /Peter > -Original Message- > From: Randy Layman [mailto:[EMAIL PROTECTED]] > Sent: den 5 mars 2002 15:13 > To: 'Tomcat Users List' > Subject: RE: Using errorPage > > > > I only

RE: Using errorPage

2002-03-05 Thread Randy Layman
Randy > -Original Message- > From: Peter Lewandowski [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 05, 2002 9:34 AM > To: 'Tomcat Users List' > Subject: Using errorPage > > > Hi All... > > I'm trying to redirect my jsp pages to a common erro

Using errorPage

2002-03-05 Thread Peter Lewandowski
Hi All... I'm trying to redirect my jsp pages to a common error page, when ever an exception is raised, but with no success :( In my jsp page, I define: <%@ page errorPage="error.jsp" %> and in my error page, I've defined (at the very top of the page): <%@ page isE

Re: Errorpage

2002-02-05 Thread Craig R. McClanahan
On Mon, 4 Feb 2002, Volker Turau wrote: > Date: Mon, 4 Feb 2002 16:30:12 +0100 (MET) > From: Volker Turau <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: tomcat user-list <[EMAIL PROTECTED]> > Subject: Errorpage > > Hi, >

web.xml and errorpage

2002-02-04 Thread Volker Turau
Hi, in my file web.xml I have registered two errorpages: java.io.IOException /ausnahmen/ioException.jsp java.sql.SQLException /ausnahmen/sqlException.jsp if I generate an exception of type java.sql.SQLException the registered errorpage is called. This is no the

Errorpage

2002-02-04 Thread Volker Turau
Hi, in section SRV.9.9.2 of the Servlet Spec. Version 2.3 a list of request attributes is given (e.g. javax.servlet.error.exception). These request attributes must be set by the container. However using Tomcat 4.0.1 the attributes are not available for an errorpage specified in the page

errorpage and attributes

2001-10-01 Thread pero
Hi, I am using an error-page withing my web-app. I am using the page:errorPage="mypage" directive to tell my jsps where the error-page is. Everything works fine. The errorpage is reached whenever an exception is raised within a jsp. But I wonder, how can I determine which jsp caused

Re: errorPage

2001-09-14 Thread KL OOI
if i have a simple jsp below how do i test it to make sure that the page directive is working? <%@ page errorPage="/jsp/kp/error.jsp" %> <% String value = (String)request.getAttribute("value"); %> Sample JSP Sample JSP <%= value %> ---

Re: errorPage

2001-09-13 Thread Craig R. McClanahan
On Fri, 14 Sep 2001, KL OOI wrote: > Date: Fri, 14 Sep 2001 11:01:32 +0800 > From: KL OOI <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED], KL OOI <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: errorPage > > Hi, > > Do anyone here know how to use

errorPage

2001-09-13 Thread KL OOI
Hi, Do anyone here know how to use the following ? <%@ page errorPage="/jsp/kp/error.jsp?jsp=" + request.getRequestURI() %> i have put this on top of my JSP page but it seems like not divert me to the error.jsp. do i need extra configuration?? any pointer for this?? thanks.

ErrorPage is inlined not forwarded

2001-06-08 Thread Lance Heaton
I have set up an Error Page in a file with the following: <%@ page errorPage="/ErrorPage.jsp" %> But instead of the html being flushed and then forwarding to the ErrorPage.jsp, the ErrorPage is tacked onto the bottom of the HTML output (to that point) and sent to the client

App does not find errorpage!

2001-06-06 Thread Dietmar Calmbach
Hi there,   i have defined a servlet context for jsp pages named /tvs and the location is PATH_TO_LOCATION/tvs. The errorpage is located at PATH_TO_LOCATION/tvs/errorpage.jsp. In the jsp pages i want to use that page for error messages, I said : <% page errorpage="/tvs/errorpage.jsp&

RE: Errorpage exception?

2001-05-30 Thread Pernica, Jan
ace of root cause is: <% e.printStackTrace(new java.io.PrintWriter(out)); %> Regards Jan On Thursday, May 31, 2001 1:21 AM, Edwin Martin [SMTP:[EMAIL PROTECTED]] wrote: > I've created an JSP errorPage and now I want to know which > exception h

Errorpage exception?

2001-05-30 Thread Edwin Martin
I've created an JSP errorPage and now I want to know which exception has been thrown. On the errorPage, exception.getClass() only gives "class org.apache.jasper.JasperException" I want the "Root cause" exception (as seen without errorPage). Fortunately, in the jav

RE: Sun J2EE RI, JSP, Include, ErrorPage -- cannot use an errorpage with dinamically included JSPs

2001-04-24 Thread Jarecsni János
OTECTED]] > Sent: Wednesday, April 25, 2001 6:58 AM > To: [EMAIL PROTECTED] > Subject: Sun J2EE RI, JSP, Include, ErrorPage -- cannot use an > errorpage with dinamically included JSPs > > > > Hi! > > I have a very unnoying problem. In a J2EE application I use a "master JSP"

Sun J2EE RI, JSP, Include, ErrorPage -- cannot use an errorpage with dinamically included JSPs

2001-04-24 Thread Jarecsni János
ons). What JSPs should be included for a given view is defined for each screen in a configuration object. Okay, this is quite simple so far, and what is more, it is working fine. The problem arises when one decides to add error handling. If you add the <%@ page errorPage="errorpage.

RE: errorpage-directive not recognized in jsp-page

2001-01-25 Thread Michael Wentzel
> I'm getting this jasper-exception from my war: > > org.apache.jasper.compiler.ParseException: > /var/tomcat/webapps/webhelp/example/helpmain.jsp(0,0) Page directive: > Invalid attribute, errorpage > at > org.apache.jasper.compiler.JspUtil.checkAttributes(

errorpage-directive not recognized in jsp-page

2001-01-25 Thread Per Olesen
Hi I'm getting this jasper-exception from my war: org.apache.jasper.compiler.ParseException: /var/tomcat/webapps/webhelp/example/helpmain.jsp(0,0) Page directive: Invalid attribute, errorpage at org.apache.jasper.compiler.JspUtil.checkAttributes(JspUtil.java)