Problems configuring own error pages for status codes manually set

2014-02-17 Thread Thomas Hermann
Hello, I try to use/configure my own error pages for my struts 2 Application (struts version: 2.3.15.3, Apache Tomcat 6.0). I configure the two error pages for the status codes 403 (not authenticted) and 404 (page not avaiable) in the web.xml (see below) and place the desired pages

Re: Problems configuring own error pages for status codes manually set

2014-02-17 Thread Christoph Nenning
Instead of response.sendError() you can try to use a struts http header result: http://struts.apache.org/development/2.x/docs/httpheader-result.html hope that helps Regards, Christoph Hello, I try to use/configure my own error pages for my struts 2 Application (struts version

Re: Problems configuring own error pages for status codes manually set

2014-02-17 Thread Lukasz Lenart
that helps Regards, Christoph Hello, I try to use/configure my own error pages for my struts 2 Application (struts version: 2.3.15.3, Apache Tomcat 6.0). I configure the two error pages for the status codes 403 (not authenticted) and 404 (page not avaiable) in the web.xml (see below

Re: Error Pages in Struts App

2006-11-02 Thread Juanjo Cuadrado
Hi, I think that you have to put the follow in the first line of your error page: %@ page isErrorPage=true % 2006/10/30, Chetan Pandey [EMAIL PROTECTED]: Hi All: I am trying to include an Error Page in my Struts-based Web App. The following is what I have in my web.xml

Error Pages in Struts App

2006-10-30 Thread Chetan Pandey
Hi All: I am trying to include an Error Page in my Struts-based Web App. The following is what I have in my web.xml error-page error-code404/error-code location/errorPage.jsp/location /error-page error-page exception-typejava.lang.Exception/exception-type

Re: Error Pages

2005-02-02 Thread Tim Christopher
Cheers for the suggestion, but that wasn't it :o( I've noticed though that if the location of the error page is a *.do file that exists, then it always shows the above error (and fails to load the page)... If the requested page is a *.jsp then it doesn't show the error page, however the page

Re: Error Pages

2005-01-31 Thread Curtis Taylor
Hi Tim, One (maybe obvious) question: Does your tiles-defs.xml definition for public.error have a path to your jsp? If not, that could wreak all kinds of error havoc... Tim Christopher wrote: Hi, I'm trying to setup custom error pages using Tomcat but keep on getting the following error: [EMAIL

Re: Error Pages

2005-01-31 Thread Kishore Senji
[EMAIL PROTECTED]: Exception Processing ErrorPage[errorCode=404, location=/errors/404.do] ClientAbortException: java.net.SocketException: Software caused connection abort: socket write error at org.apache.coyote.tomcat5.OutputBuffer.doFlush(OutputBuffer.java:331) sniprest

Error Pages

2005-01-30 Thread Tim Christopher
Hi, I'm trying to setup custom error pages using Tomcat but keep on getting the following error: [EMAIL PROTECTED]: Exception Processing ErrorPage[errorCode=404, location=/errors/404.do] ClientAbortException: java.net.SocketException: Software caused connection abort: socket write error