So right now RunData uses RunData.out as a ServletOutputStream
(getOutputStream)

Locally  I modified it to use a PrintWriter (getWriter)

Why?

The servlet spec says that you can use either getOutputStream or
getWriter, not both.

So big deal right?  Not if you use JSP.  Turbine won't work at all under
Jakarta without this mod.  The generated JSP code calls getWriter and
not getOutputStream so if Turbine calls getOutputStream all we will get
is a nice stack trace.

Thoughts?  It is a small mod and breaks no code except ImageServer
because it needs to write a byte array.  This won't be used within JSP
anyway (only as an <img> tag right?).  ImageServer uses
data.res.getOutputStream()

I will commit it unless someone gives me a -1.

Kevin

-- 
Kevin A Burton
Senior Software Engineer
Kendara Inc
http://www.kendara.com
Mobile:  408-910-6145
"If you continue running Windows, your system may become unstable."


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to