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
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
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
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
%@
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
5 matches
Mail list logo