Hi,
Thanks for replying.

I am using only forward tag in my JSP page.
I am not explicitly using getOutputStream() method.

Can u please tell the relation between the forward tag and getOutputStream()
method.

thanks in advance,
suvil...

-----Original Message-----
From: Sandesh Kamath [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 08, 1999 10:38 PM
To: Sugandhi, Suvil
Subject: Re: Regarding forward tag exception


Hi,
       Whenver u forward a reqest to some other  servlet/jsp  u should not
get the
       outstream of  the response object.  In other words  do not call
       getOutputStream()   method in a code where u are forwarding the
request.

 Hope this helps

Regards
Sandesh.



"Sugandhi, Suvil" wrote:

> hi folks,
>
> What should i do to avoid the following exception.
>
> ---------------------------------------------
> JRun Servlet Error
> ---------------------------------------------
>
> com.livesoftware.jsp.JSPServlet:
>
> java.lang.IllegalStateException: Cannot forward when getOutputStream()
> already called.
>
> ---------------------------------------------
>
> thanks in advance,
> suvil
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to