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 (n

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 >

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 in the

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 40

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 404 /errorPage.jsp java.lang.Exception /errorPage.jsp In one of my JSP Page - for testing purposes - I have included the following: Integer ii =

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 stil

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) >re

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

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