Re: IllegalStateException: Cannot forward. Response already committed.

2009-05-24 Thread Wes Wannemacher
Wannemacher [mailto:w...@wantii.com] Sent: Wednesday, May 20, 2009 4:48 PM To: Struts Users Mailing List Subject: Re: IllegalStateException: Cannot forward. Response already committed. The JSP compiler simple turns those % % tags inside out and everything outside of those tags is a string

RE: IllegalStateException: Cannot forward. Response already committed.

2009-05-21 Thread Hermann X Lau
Logger log = Logger.getLogger(index.jsp);log.debug(begin);%logic:forward name=welcome / Any other ideas? -Original Message- From: Wes Wannemacher [mailto:w...@wantii.com] Sent: Wednesday, May 20, 2009 4:48 PM To: Struts Users Mailing List Subject: Re: IllegalStateException: Cannot forward

IllegalStateException: Cannot forward. Response already committed.

2009-05-20 Thread Hermann X Lau
Thanks in advance for any help on this... I understand we get this exception when the JSP attempts to write to the print stream after the response has been committed but I don't see how this is occurring in my situation since my JSP just contains a simple forward. Index.jsp %@ taglib

Re: IllegalStateException: Cannot forward. Response already committed.

2009-05-20 Thread Wes Wannemacher
The JSP compiler simple turns those % % tags inside out and everything outside of those tags is a string with an out.print... In your case, the first two things in the file generate returns... Whitespace is significant... Let me see if I can make it visually more understandable Index.jsp %@

Re: IllegalStateException: Cannot forward. Response already committed.

2009-05-20 Thread Dale Newfield
Sorry to hijack this thread, but it looks like Wes has already given you a pretty complete answer. At first I thought you were going to be asking about this: http://wiki.glassfish.java.net/Wiki.jsp?page=FaqWebAppUnableToSetRequestCharEncoding I get a warning in my glassfish logs for pretty