Put breakpoints in the HttpServletResponse code or the sub class if someone has wrapped the "real one" or build your own wrapper that uses "System.out.println" in the addHeader/setHeader methods.

(there is no easy way besides debugging).

The other alternative is to remove all of your phase listeners and servlet filters and if that fixes the problem, add them back 1 by 1 until the problem occurs again.

On 7/27/06, QiuyunZhong <[EMAIL PROTECTED]> wrote:

we just use one phaselistener defined in faces-config.xml
        <lifecycle>
                <phase-listener>
                        base.presentation.common.ShowPhaseListener
                </phase-listener>
        </lifecycle>
and one extension filter(i think it won't effect the response,right?)

   <filter>
        <filter-name>extensionsFilter</filter-name>

<filter-class> org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
</filter>
How can i know whether there is something wrote to the header before
redirection?
Thank you.

--
View this message in context: http://www.nabble.com/sendRedirect-throws-illegalstateexception-tf2009802.html#a5523699
Sent from the MyFaces - Users forum at Nabble.com.


Reply via email to