tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kannan Shastri <k.shas...@gmail.com>
Subject Fwd: Issue with redirect..
Date Fri, 01 Jul 2005 10:37:09 GMT
---------- Forwarded message ----------
From: Kannan Shastri <k.shastri@gmail.com>
Date: Jul 1, 2005 3:18 PM
Subject: Issue with redirect..
To: Tomcat Users List <tomcat-user-digest@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


Mime
View raw message