tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Elisabeth Freeman <elisabeth.free...@corp.go.com>
Subject RE: tomcat-user Digest 24 Oct 2000 20:53:09 -0000 Issue 293
Date Wed, 25 Oct 2000 17:37:38 GMT
I agree, doing this with a servlet is the right way to go.  However, because
this is already in production, it would be much simpler to change the jsp
than add a servlet at this point (which would require QA, updating the
server properties, etc.).

I have searched everywhere and can't find anything about telling tomcat not
to open the print writer.  I'm assuming it can't be done, however, if this
is wrong, please let me know.

Thanks.

Elisabeth Freeman

-----Original Message-----
Date: Tue, 24 Oct 2000 14:27:43 -0500
To: tomcat-user@jakarta.apache.org
From: William Brogden <wbrogden@bga.com>
Subject: Re: help with generated servlet and IllegalStateException
Message-ID: <39F5E2AF.5BB61C22@bga.com>

Elisabeth Freeman wrote:
> 
> Hi,
> I have noticed that the servlets being generated from my JSPs *always*
grap
> the PrintWriter "out", even if I am not using it in my JSP.  This causes
> serious problems when I want to redirect - I get an IllegalStateException
> which seems to hang the thread in my application, so after a few hundred
> hits, the application is dying (on Windows NT, doens't seem to happen on
> Windows 2K).  Is there any way for me to direct Jasper *not* to get the
> print writer at all in the generated servlet?
> 
> Thanks!!!
> 
> Elisabeth Freeman

If you are not going to be writing any HTML, why bother with JSP?
Why not do whatever it is you are doing with a servlet?

-- 
WBB - wbrogden@bga.com  Chief Scientist, LANWrights, Inc.
Java Programmer Certification information and mock exam
at  http://www.lanw.com/java/javacert/

------------------------------



Mime
View raw message