Re: Issue with redirect..

2005-07-04 Thread Mark Thomas
Create an as simple as possible JSP that demonstrates this problem. It 
should be simple enough to post the JSP to the list.


Mark

Kannan Shastri wrote:

 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Issue with redirect..

2005-07-03 Thread Kannan Shastri
 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Fwd: Issue with redirect..

2005-07-01 Thread Kannan Shastri
-- Forwarded message --
From: Kannan Shastri [EMAIL PROTECTED]
Date: Jul 1, 2005 3:18 PM
Subject: Issue with redirect..
To: Tomcat Users List [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]