tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Brogden <wbrog...@bga.com>
Subject Re: help with generated servlet and IllegalStateException
Date Tue, 24 Oct 2000 19:27:43 GMT


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