DSeibert is 100% correct.If you are using RequestDispatcher to send some
info to a JSP page you can not use PrintWriter in servlet.

Remove PrintWriter code entirely in servlet and get the same in the JSP
page.



>From: "Seibert, Dan" <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>     reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Response has already been committed?
>Date: Tue, 29 Aug 2000 14:59:53 -0400
>
>I seem to remember this one if you use the PrintWriter in a servlet and
>then
>try to invoke RequestDispatcher.forward()
>
>
> > -----Original Message-----
> > From: Sergey A. Vorobiev [SMTP:[EMAIL PROTECTED]]
> > Sent: Tuesday, August 29, 2000 8:33 AM
> > To:   [EMAIL PROTECTED]
> > Subject:      Re: Response has already been committed?
> >
> > Enrique P�rez Soler wrote:
> > >
> > > Hi everybody, I'm getting this awful message when I try to load a JSP
> > > file.
> > >
> > > java.lang.IllegalStateException: Response has already been committed
> > >
> > > Any suggestion?
> > >
> > > --
> >
> > This means that an exception was raised after response buffer was
> > flashed. Check your server logs.
> >
> > --
> > Regards,
> > Sergey Vorobiev
> >
> >
>==========================================================================
> > =
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to