struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miriam Aguirre <Miriam.Agui...@ssa.co.santa-clara.ca.us>
Subject RE: java.lang.IllegalStateException: Cannot forward after respons e has been committed
Date Fri, 28 Mar 2003 00:54:03 GMT

 make sure you are not writing anything to the response stream before you
forward.. 

-----Original Message-----
From: Becky Norum [mailto:bnorum@coe.neu.edu]
Sent: Thursday, March 27, 2003 4:48 PM
To: struts-user@jakarta.apache.org
Subject: java.lang.IllegalStateException: Cannot forward after response
has been committed



Does anyone know what the following exception means?

javax.servlet.jsp.JspException: java.lang.IllegalStateException: Cannot
forward after response has been committed

It seemed to be related to something in this area of code:

//             ModuleConfig config = (ModuleConfig)
pageContext.getRequest()
//                 .getAttribute(org.apache.struts.Globals.MODULE_KEY);
// 	    try {
// 		pageContext.forward(config.getPrefix() + page);
// 	    } catch (Exception e) {
// 		

Thanks!

Becky


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

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


Mime
View raw message