Hi Rowan,

thanks for replying..

I am not explicitly using getOutputStream().

I am using only the forward tag which is shown below:
<jsp:forward page="calendar_class_main.jsp" />


If i remove the forward tag it works fine.

is there any relation between forward tag and getOutputStream().

Please explain me in detail,

thanks in advance,
suvil...


-----Original Message-----
From: rowan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 08, 1999 3:34 PM
To: 'Sugandhi, Suvil'
Subject: RE: Regarding forward tag exception


This mean that somewhere in your code, you have call
response.getOutputStream().
Just close this OutputStream and it will work.Hope this helps

rowan.

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Sugandhi, Suvil
Sent: Thursday, December 09, 1999 11:51 AM
To: [EMAIL PROTECTED]
Subject: Regarding forward tag exception


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