Dont get too busy reading this exception - error.

> "Error -- Exception when loading or calling
> servlet: *Cannot forward as OutputStream or Writer has already been
> obtained*".

This exception is very common. Last time I got this exception
- it was because one of my string variable in JSP was null
and I was trying to do somethings depending on the content of that string.

so i guess a NullPointerException kinda was thrown - got caught by
this abovementioned exception and I had hard time figuring out
why would this happen when i was not trying to forward to any page/servlet.

Good Luck.
Mittal.


----- Original Message -----
From: Simon Xu <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 03, 2000 6:51 AM
Subject: Re: JServ just doesn't work!


> I have the same problem. I cannot forward calls to a JSP page from a
> servlet. It is giving me "Error -- Exception when loading or calling
> servlet: *Cannot forward as OutputStream or Writer has already been
> obtained*". Anybody had the same problem before? Any solutions? Thanks in
> advance.
>
>
>
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> Moursli Nabil
> Sent: Friday, November 03, 2000 5:42 AM
> To: [EMAIL PROTECTED]
> Subject: JServ just doesn't work!
>
>
> Hi,
>
> Can anyone give me some advice or links about experience using
> Apache + Tomcat for handeling servlets + JSP.
>
> JServ just doesn't work with the RequestDispatcher forwarding.
>
> Thanks in advance. This is kinda in the rush...
>
>
> Moursli Nabil
> CMG-Admiralplc.
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to