You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kaneda K <zo...@yahoo.com> on 2000/08/18 16:02:49 UTC

Cannot forward as OutputStream or Writer has already been obtained

  Hello,
 In order to secure (a minimum my web) I checke is the
client has a session, and if not I forward the stream
to the login page.
I have a error went my session end. The erroe is a 500
:
Root cause: 
"java.lang.IllegalStateException: Cannot forward as
OutputStream or Writer has already been obtained"

I wonder what should I do in order to be certain that
my client belong to my group.

I had in every pages : 
<% if (session.isNew()){%>
    <jsp:forward page="login.jsp" />
<%}%>

yours sincerely

__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/