× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



In your servlet, did you get the writer prior to attempting the forward?
This is usually done with a statement like the following:

        PrintWriter out = response.getWriter();

Normally you only do this when you intend to write directly to the output
stream, that is send your own formatted HTML to the browser.  If you've done
this, I suspect that any subsequent forward request would get a bit
confused.

Joe


> -----Original Message-----
> From: tmalin@csc.com
>
> We are receiving this exception from a JSP. We are using WebSphere 3.5.4.
> ((( java.lang.IllegalStateException: ERROR: Cannot forward. Writer or
> Stream already obtained.)))
>
> Any help greatly appreciated
>
>
> Tom



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.