Re: Struts-1.1 Tiles exception error page

2006-02-02 Thread Laurie Harper
Both will help. Figuring out what size buffer you need will be a process of experimentation. The bottom line is that this is not a robust solution unless you can be reasonably sure the size of each page will not vary very much. L. Vladislav Pernin wrote: You mean or <%@ page autoFlush="fals

Re: Struts-1.1 Tiles exception error page

2006-02-01 Thread Vladislav Pernin
You mean or <%@ page autoFlush="false" ... buffer="64kb">, or both ? I do not really have an idea what could be a reasonable value for buffer. Vlad Laurie Harper a écrit : Well, assuming the IllegalStateException is complaining about not being able to forward after the response has been co

Re: Struts-1.1 Tiles exception error page

2006-02-01 Thread Laurie Harper
Well, assuming the IllegalStateException is complaining about not being able to forward after the response has been committed or something similar, the problem is that (at least some of) the response has already been sent when the error occurs. You may be able to work around that by (a) making

Re: Struts-1.1 Tiles exception error page

2006-02-01 Thread Vladislav Pernin
I try to migrate to Struts 1.2.8, the "ServletException ..." message is not displayed any more. Problem is that if I use the error-page of the web.xml, I got the following exception : 2006-02-01 18:58:27 ErrorDispatcherValve[localhost]: Exception Processing ErrorPage[exceptionType=java.lang.Th

Re: Struts-1.1 Tiles exception error page

2006-02-01 Thread Vladislav Pernin
I just found in the 1.2.4 release note that this has been resolved. So I'm going to take a look at 1.2.4 migration. Vladislav Pernin Vladislav Pernin wrote: Hi all, I'm working in an Struts-1.1 tiles environment and I need to be able to redirect user on a JSP error page when an errors occur