You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kannan Shastri <k....@gmail.com> on 2005/07/01 12:37:09 UTC

Fwd: Issue with redirect..

---------- Forwarded message ----------
From: Kannan Shastri <k....@gmail.com>
Date: Jul 1, 2005 3:18 PM
Subject: Issue with redirect..
To: Tomcat Users List <to...@jakarta.apache.org>


Hi,
 I am running a JSF application on Tomcat 5.0.25...the problem is, i
need to redirect using response.sendRedirect(url) , and i am getting
an exception

 java.lang.IllegalStateException : Cannot forward after response has
been committed.

 This same code is running fine on Websphere server, and when i check
for response.isCommitted() , it returns false on Tomcat also.
 But still I am getting this error.

can somebody advise?

Cheers,

kan


-- 
Kannan Shastri
Software Engineer
Computer Sciences Corporation

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org