You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Miriam Aguirre <Mi...@ssa.co.santa-clara.ca.us> on 2003/03/28 01:54:03 UTC
RE: java.lang.IllegalStateException: Cannot forward after respons
e has been committed
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